Skip to content

Commit fe91179

Browse files
jhovoldmchehab
authored andcommitted
media: Revert "media: rtl28xxu: fix zero-length control request"
This reverts commit 25d5ce3. The patch in question causes a regression and was superseded by a second version. Unfortunately, the first revision ended up being applied instead of the correct one. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 61c6f04 commit fe91179

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/media/usb/dvb-usb-v2/rtl28xxu.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,9 +612,8 @@ static int rtl28xxu_read_config(struct dvb_usb_device *d)
612612
static int rtl28xxu_identify_state(struct dvb_usb_device *d, const char **name)
613613
{
614614
struct rtl28xxu_dev *dev = d_to_priv(d);
615-
u8 buf[1];
616615
int ret;
617-
struct rtl28xxu_req req_demod_i2c = {0x0020, CMD_I2C_DA_RD, 1, buf};
616+
struct rtl28xxu_req req_demod_i2c = {0x0020, CMD_I2C_DA_RD, 0, NULL};
618617

619618
dev_dbg(&d->intf->dev, "\n");
620619

0 commit comments

Comments
 (0)