[media] em28xx: use usb_interface for dev_foo() calls

The usb_device->dev is not the right device for dev_foo() calls.
Instead, it should use usb_interface->dev.

Tested-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Mauro Carvalho Chehab
2016-12-07 13:48:10 -02:00
committed by Mauro Carvalho Chehab
szülő ea48c36808
commit 29b05e22f5
10 fájl változott, egészen pontosan 216 új sor hozzáadva és 213 régi sor törölve

Fájl megtekintése

@@ -678,6 +678,7 @@ struct em28xx {
/* usb transfer */
struct usb_device *udev; /* the usb device */
struct usb_interface *intf; /* the usb interface */
u8 ifnum; /* number of the assigned usb interface */
u8 analog_ep_isoc; /* address of isoc endpoint for analog */
u8 analog_ep_bulk; /* address of bulk endpoint for analog */