aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdnsp-mem.c
diff options
context:
space:
mode:
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>2021-11-29 18:53:22 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-03 12:02:49 +0100
commit76c4c95dac0da03f64d8b59a8834faf8020af8dc (patch)
tree23a86e104967a36294b664f9803b4cd4cb97f3cb /drivers/usb/cdns3/cdnsp-mem.c
parenta02a26eb0aeaa2859a8b2f182bd5b5f7228ee1fe (diff)
usb: dwc3: gadget: Skip reading GEVNTSIZn
The driver knows what it needs to set for GEVNTSIZn, and the controller doesn't modify this register unless there's a hard reset. To save a few microseconds of register read in read-modify-write operation, simply do register write with the expected values. This can improve performance when there are many interrupts generated, which the driver needs to check and handle. Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com> Link: https://lore.kernel.org/r/efddf4ee5821c4bc5ae7ad90d629ec7a0ebcbf9a.1638240306.git.Thinh.Nguyen@synopsys.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-mem.c')
0 files changed, 0 insertions, 0 deletions