commit | c9a2c46d7f32a884510b20f0cfa79a2c6a2f1413 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Sun Feb 24 20:03:41 2008 +0100 |
committer | Jean Delvare <khali@hyperion.delvare> | Sun Feb 24 20:03:41 2008 +0100 |
tree | 9379ceb746c5643083fc52e9fb26115b15b5a004 | |
parent | 4fa2b1cde0e3797549f711ce9e51c395b3d6d2a7 [diff] |
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: Jean Delvare <khali@linux-fr.org> Acked-by: Vladimir Ananiev <vovan888@gmail.com> Acked-by: Tony Lindgren <tony@atomide.com>