linux/drivers/staging/dwc2
Matthijs Kooijman acdb9046b6 staging: dwc2: add missing shift
This line extracted the available queue space without properly shifting
it. Since the code only cared wether it was zero or not, it worked as
expected without the shift, but adding shift makes the code cleaner.

While we're here, store the result in a helper variable that was already
declared to increase readability a bit more.

Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-30 14:14:52 -07:00
..
core_intr.c staging: dwc2: remove dummy interrupt handling 2013-05-16 15:22:39 -07:00
core.c staging: dwc2: simplify register shift expressions 2013-08-30 14:14:52 -07:00
core.h staging: dwc2: reorder some kernel doc comments and struct members 2013-08-12 15:21:41 -07:00
hcd_ddma.c staging: dwc2: simplify register shift expressions 2013-08-30 14:14:52 -07:00
hcd_intr.c staging: dwc2: simplify register shift expressions 2013-08-30 14:14:52 -07:00
hcd_queue.c staging: dwc2: unshift non-bool register value constants 2013-08-30 14:14:52 -07:00
hcd.c staging: dwc2: add missing shift 2013-08-30 14:14:52 -07:00
hcd.h staging: dwc2: unshift non-bool register value constants 2013-08-30 14:14:52 -07:00
hw.h staging: dwc2: unshift non-bool register value constants 2013-08-30 14:14:52 -07:00
Kconfig staging: dwc2: remove use of bus_to_virt() 2013-07-23 14:54:49 -07:00
Makefile staging: dwc2: add platform device bindings 2013-04-23 10:37:55 -07:00
pci.c staging: dwc2: add driver parameter to set AHB config register value 2013-07-23 14:56:19 -07:00
platform.c Staging driver fixes for 3.10-rc2 2013-05-23 09:27:49 -07:00