V4L/DVB: cx23885: Return -ENXIO on slave nack
authorJean Delvare <khali@linux-fr.org>
Sun, 18 Jul 2010 19:48:47 +0000 (16:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 9 Aug 2010 02:42:53 +0000 (23:42 -0300)
commitf4acb3c4ccca74f5448354308f917e87ce83505a
treef2eac5ff364f99d8eded4873ce3f1b2fb1232f48
parent3d217c8656842c77d6f33329a034102157363c8d
V4L/DVB: cx23885: Return -ENXIO on slave nack

Documentation/i2c/fault-codes says that i2c adapter drivers should
return -ENXIO when no slave acks an address byte.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-i2c.c