aboutsummaryrefslogtreecommitdiff
path: root/drivers/pnp/card.c
diff options
context:
space:
mode:
authorKelly Devilliv <kelly.devilliv@gmail.com>2021-06-27 20:57:46 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-21 10:03:42 +0200
commitc2e898764245c852bc8ee4857613ba4f3a6d761d (patch)
treec63d4383bb05b4dff9e0e59afafe9e858d0b9c33 /drivers/pnp/card.c
parentc4c1faf8254885a52412b456c90d0acc9e94db22 (diff)
usb: host: fotg210: fix the endpoint's transactional opportunities calculation
Now that usb_endpoint_maxp() only returns the lowest 11 bits from wMaxPacketSize, we should make use of the usb_endpoint_* helpers instead and remove the unnecessary max_packet()/hb_mult() macro. Signed-off-by: Kelly Devilliv <kelly.devilliv@gmail.com> Link: https://lore.kernel.org/r/20210627125747.127646-3-kelly.devilliv@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pnp/card.c')
0 files changed, 0 insertions, 0 deletions