aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorMatthijs Kooijman <[email protected]>2013-08-30 18:45:19 +0200
committerGreg Kroah-Hartman <[email protected]>2013-08-30 14:14:53 -0700
commit08b9f9db707bae6c56c0b0b0232a1338ca58e3ce (patch)
treed712806183ccaafe0e60a96779df6a9d16e1be88 /lib/cpu-notifier-error-inject.c
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 <[email protected]> Acked-by: Paul Zimmerman <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions