]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: store the information of the pipes
authorHayes Wang <hayeswang@realtek.com>
Thu, 17 Jun 2021 10:00:15 +0000 (18:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jun 2021 18:58:11 +0000 (11:58 -0700)
commit7fc40f75ba2de6e474b685a9cf5aaeba18f66e6d
tree0c64f2bf9623c227bd5dc76e787405d7da2259a1
parent27dc1cf9cc45c569c8bbf58d9a9681f2eb73152b
r8152: store the information of the pipes

Store the information of the pipes to avoid calling usb_rcvctrlpipe(),
usb_sndctrlpipe(), usb_rcvbulkpipe(), usb_sndbulkpipe(), and
usb_rcvintpipe() frequently.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c