This is a note to let you know that I've just added the patch titled

    [media] IX2505V: i2c transfer error code ignored

to the 2.6.37-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     ix2505v-i2c-transfer-error-code-ignored.patch
and it can be found in the queue-2.6.37 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From 13d28e4917fb6cf6898e8998f01ab83b3f468aeb Mon Sep 17 00:00:00 2001
From: Matthias Schwarzott <[email protected]>
Date: Sun, 7 Nov 2010 10:57:13 -0300
Subject: [media] IX2505V: i2c transfer error code ignored

From: Matthias Schwarzott <[email protected]>

commit 13d28e4917fb6cf6898e8998f01ab83b3f468aeb upstream.

It seems that ix2505v driver ignores a i2c error in ix2505v_read_status_reg.
This looks like a typing error using (ret = 1) instead of correct (ret == 1).

Acked-by: Malcolm Priestley <[email protected]>
Signed-off-by: Matthias Schwarzott <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/media/dvb/frontends/ix2505v.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/media/dvb/frontends/ix2505v.c
+++ b/drivers/media/dvb/frontends/ix2505v.c
@@ -72,7 +72,7 @@ static int ix2505v_read_status_reg(struc
        ret = i2c_transfer(state->i2c, msg, 1);
        deb_i2c("Read %s ", __func__);
 
-       return (ret = 1) ? (int) b2[0] : -1;
+       return (ret == 1) ? (int) b2[0] : -1;
 }
 
 static int ix2505v_write(struct ix2505v_state *state, u8 buf[], u8 count)


Patches currently in stable-queue which might be from [email protected] are

queue-2.6.37/ix2505v-i2c-transfer-error-code-ignored.patch

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to