summaryrefslogtreecommitdiff
path: root/drivers/staging/dwc2/hw.h
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2013-08-30 18:45:19 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-30 14:14:53 -0700
commit08b9f9db707bae6c56c0b0b0232a1338ca58e3ce (patch)
treed712806183ccaafe0e60a96779df6a9d16e1be88 /drivers/staging/dwc2/hw.h
parentc35205aa051244a5ee8ed1e124b9c7b890d97ad9 (diff)
staging: dwc2: remove redundant register reads
For calculating FIFO offsets, the sizes of preceding fifos need to be known. For filling the GDFIFOCFG register, these fifo sizes were read from hardware registers. However, these values were written to these registers just a few lines before, so we can just use the values written instead. Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl> Acked-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dwc2/hw.h')
0 files changed, 0 insertions, 0 deletions