diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-02-24 19:03:41 (GMT) |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-02-24 19:03:41 (GMT) |
commit | c9a2c46d7f32a884510b20f0cfa79a2c6a2f1413 (patch) | |
tree | 9379ceb746c5643083fc52e9fb26115b15b5a004 /drivers/i2c/busses/i2c-pxa.c | |
parent | 4fa2b1cde0e3797549f711ce9e51c395b3d6d2a7 (diff) | |
download | linux-c9a2c46d7f32a884510b20f0cfa79a2c6a2f1413.tar.xz |
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>
Diffstat (limited to 'drivers/i2c/busses/i2c-pxa.c')
0 files changed, 0 insertions, 0 deletions