OSDN Git Service

isdn: hisax: hfc_usb: use usb_fill_int_urb()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 20 Jun 2018 10:40:26 +0000 (12:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Jun 2018 04:54:39 +0000 (13:54 +0900)
commitdd3adc4e604a3d1ad71da489310221e136937efe
tree5ce06b30918b88f86ca027b1ef3699a2d8a952dc
parent78c696c19578ff2bb14622304e63d7beb54206e5
isdn: hisax: hfc_usb: use usb_fill_int_urb()

Using usb_fill_int_urb() helps to find code which initializes an
URB. A grep for members of the struct (like ->complete) reveal lots
of other things, too.

The `interval' parameter is now set differently on HS and SS. The
argument is fed from bInterval so it should be the right thing to do.

Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: netdev@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/hfc_usb.c