Skip to contentSkip to conversation

Patch "cx231xx: Fix I2C on Internal Master 3 Bus" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Nov 6, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

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

cx231xx: Fix I2C on Internal Master 3 Bus

to the 4.4-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:

     cx231xx-fix-i2c-on-internal-master-3-bus.patch

and it can be found in the queue-4.4 subdirectory.

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

Quoted 1 line

From foo@baz Mon Nov 6 10:22:56 CET 2017

From: Oleh Kravchenko <[email protected]>
Date: Sat, 7 Oct 2017 22:37:46 +0000
Subject: cx231xx: Fix I2C on Internal Master 3 Bus

From: Oleh Kravchenko <[email protected]>

[ Upstream commit 6c5da8031a3abfad259190d35f83d89568b72ee2 ]

Internal Master 3 Bus can send and receive only 4 bytes per time.

---
 drivers/media/usb/cx231xx/cx231xx-core.c |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
drivers/media/usb/cx231xx/cx231xx-core.c +6 -1
@@ -356,7 +356,12 @@ int cx231xx_send_vendor_cmd(struct cx231
 	 */
 	if ((ven_req->wLength > 4) && ((ven_req->bRequest == 0x4) ||
 					(ven_req->bRequest == 0x5) ||
-					(ven_req->bRequest == 0x6))) {
+					(ven_req->bRequest == 0x6) ||
+
+					/* Internal Master 3 Bus can send
+					 * and receive only 4 bytes per time
+					 */
+					(ven_req->bRequest == 0x2))) {
 		unsend_size = 0;
 		pdata = ven_req->pBuff;
 

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

queue-4.4/cx231xx-fix-i2c-on-internal-master-3-bus.patch