Skip to content
Commit 530ee8d3 authored by Satish Nagireddy's avatar Satish Nagireddy Committed by Greg Kroah-Hartman
Browse files

i2c: cadence: Unregister the clk notifier in error path

[ Upstream commit 3501f0c6 ]

This patch ensures that the clock notifier is unregistered
when driver probe is returning error.

Fixes: df8eb569

 ("i2c: Add driver for Cadence I2C controller")
Signed-off-by: default avatarSatish Nagireddy <satish.nagireddy@getcruise.com>
Tested-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Reviewed-by: default avatarMichal Simek <michal.simek@amd.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 941d77b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment