Skip to content
Commit c9a2c46d authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare
Browse files

ARM: OMAP: Release i2c_adapter after use (Siemens SX1)



Each call to i2c_get_adapter() must be followed by a call to
i2c_put_adapter() to release the grabbed reference. Otherwise the
reference count grows forever and the adapter can never be
unregistered.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Acked-by: default avatarVladimir Ananiev <vovan888@gmail.com>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
parent 4fa2b1cd
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