soc-camera: return -ENODEV if sensor is missing
authorMagnus Damm <damm@opensource.se>
Tue, 9 Feb 2010 08:40:40 +0000 (17:40 +0900)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:11:00 +0000 (15:11 -0300)
commitd74f841c32f0b00a513d87bba646d019ef7d1f67
tree0e030502949d32f69d6226f7965fa093501e6221
parent6b727c68ea7083acd008da7c9734a19a4cdd52dc
soc-camera: return -ENODEV if sensor is missing

Update the soc-camera i2c code to return -ENODEV if
a camera sensor is missing instead of -ENOMEM.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/soc_camera.c