提交 e42efde4 编写于 作者: A Antti Palosaari 提交者: Mauro Carvalho Chehab

[media] lme2510: do not use bInterfaceNumber from dvb_usb_v2

No need to access bInterfaceNumber via dvb_usb_v2 internals as driver
has it already.
That patch is prepare for dvb_usb_v2 deferred probe hack removal. It was
added due to udev firmware loading problems, but things are fixed after
that and it is not needed anymore.
Signed-off-by: NAntti Palosaari <crope@iki.fi>
Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
上级 00db7192
...@@ -1225,7 +1225,7 @@ static int lme2510_identify_state(struct dvb_usb_device *d, const char **name) ...@@ -1225,7 +1225,7 @@ static int lme2510_identify_state(struct dvb_usb_device *d, const char **name)
usb_reset_configuration(d->udev); usb_reset_configuration(d->udev);
usb_set_interface(d->udev, usb_set_interface(d->udev,
d->intf->cur_altsetting->desc.bInterfaceNumber, 1); d->props->bInterfaceNumber, 1);
st->dvb_usb_lme2510_firmware = dvb_usb_lme2510_firmware; st->dvb_usb_lme2510_firmware = dvb_usb_lme2510_firmware;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册