The patch number 7902 was added via Mauro Carvalho Chehab <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Marcin Slusarz  <[EMAIL PROTECTED]>
 fix handling of tea5761_autodetection return value


tea5761_autodetection returns -EINVAL on error

Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]>
Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>


---

 linux/drivers/media/common/tuners/tea5761.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r 9d04bba82511 -r a3c2ebf2a2a4 linux/drivers/media/common/tuners/tea5761.c
--- a/linux/drivers/media/common/tuners/tea5761.c       Wed May 14 23:14:04 
2008 +0000
+++ b/linux/drivers/media/common/tuners/tea5761.c       Sun May 11 19:51:07 
2008 +0000
@@ -301,7 +301,7 @@ struct dvb_frontend *tea5761_attach(stru
 {
        struct tea5761_priv *priv = NULL;
 
-       if (tea5761_autodetection(i2c_adap, i2c_addr) == EINVAL)
+       if (tea5761_autodetection(i2c_adap, i2c_addr) != 0)
                return NULL;
 
        priv = kzalloc(sizeof(struct tea5761_priv), GFP_KERNEL);


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/a3c2ebf2a2a4ef0161c53b842d0070b966b9e311

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to