mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 10:29:37 +00:00
[media] cx231xx: Fix I2C on Internal Master 3 Bus
Internal Master 3 Bus can send and receive only 4 bytes per time. Signed-off-by: Oleh Kravchenko <oleg@kaa.org.ua> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
a096fd6492
commit
6c5da8031a
1 changed files with 6 additions and 1 deletions
|
@ -355,7 +355,12 @@ int cx231xx_send_vendor_cmd(struct cx231xx *dev,
|
|||
*/
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue