diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-05-20 16:30:06 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-22 06:19:11 +0200 |
commit | 37869fa2da1a952ed736858f8b9e45c0b9131ae9 (patch) | |
tree | eb7ae599e4fd98008651070cb2847a1a7c896a19 /drivers | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jba... (diff) | |
download | linux-37869fa2da1a952ed736858f8b9e45c0b9131ae9.tar.xz linux-37869fa2da1a952ed736858f8b9e45c0b9131ae9.zip |
sh: ap325 camera without i2c driver fix
This patch fixes the ap325rxa ncm03j camera code to handle
the case where no i2c driver is present. Without this fix
i2c_transfer() may be passed NULL as adapter which results
in a crash.
Triggered when i2c-sh_mobile.c failed to probe() due to
missing MSTP clocks.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions