git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'topic/ctxfi' into for-linus
[pandora-kernel.git]
/
arch
/
sh
/
boards
/
board-ap325rxa.c
diff --git
a/arch/sh/boards/board-ap325rxa.c
b/arch/sh/boards/board-ap325rxa.c
index
39e4691
..
f2a2964
100644
(file)
--- a/
arch/sh/boards/board-ap325rxa.c
+++ b/
arch/sh/boards/board-ap325rxa.c
@@
-263,6
+263,9
@@
static int camera_probe(void)
struct i2c_msg msg;
int ret;
+ if (!a)
+ return -ENODEV;
+
camera_power(1);
msg.addr = 0x6e;
msg.buf = camera_ncm03j_magic;