Commit fe911792 authored by Johan Hovold's avatar Johan Hovold Committed by Mauro Carvalho Chehab

media: Revert "media: rtl28xxu: fix zero-length control request"

This reverts commit 25d5ce3a.

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/YL3MCGY5wTsW2kEF@hovoldconsulting.comSigned-off-by: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 61c6f04a
...@@ -612,9 +612,8 @@ static int rtl28xxu_read_config(struct dvb_usb_device *d) ...@@ -612,9 +612,8 @@ static int rtl28xxu_read_config(struct dvb_usb_device *d)
static int rtl28xxu_identify_state(struct dvb_usb_device *d, const char **name) static int rtl28xxu_identify_state(struct dvb_usb_device *d, const char **name)
{ {
struct rtl28xxu_dev *dev = d_to_priv(d); struct rtl28xxu_dev *dev = d_to_priv(d);
u8 buf[1];
int ret; int ret;
struct rtl28xxu_req req_demod_i2c = {0x0020, CMD_I2C_DA_RD, 1, buf}; struct rtl28xxu_req req_demod_i2c = {0x0020, CMD_I2C_DA_RD, 0, NULL};
dev_dbg(&d->intf->dev, "\n"); dev_dbg(&d->intf->dev, "\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment