r8152: set bp in bulk
authorHayes Wang <hayeswang@realtek.com>
Wed, 26 Jul 2023 03:08:08 +0000 (11:08 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 29 Jul 2023 01:01:22 +0000 (18:01 -0700)
commite5c266a61186b462c388c53a3564c375e72f2244
tree25a7c850f4bf0f042a36f0f7b39b5d2362019213
parent57df0fb9d511f91202114813e90128d65c0589f0
r8152: set bp in bulk

PLA_BP_0 ~ PLA_BP_15 (0xfc28 ~ 0xfc46) are continuous registers, so we
could combine the control transfers into one control transfer.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Link: https://lore.kernel.org/r/20230726030808.9093-419-nic_swsd@realtek.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/r8152.c