usb: musb: hsdma: add wrapper for reading DMA count
authorAnand Gadiyar <gadiyar@ti.com>
Tue, 19 Jan 2010 13:14:05 +0000 (13:14 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 22 Jan 2010 02:33:14 +0000 (18:33 -0800)
commita8755d13d64e56409294230d4882ed6445a76194
tree5582ba259552715fe519f86c3de17bd63fef64ea
parent1f9c6131f29fe84ddcf340089637b5221d2ccc39
usb: musb: hsdma: add wrapper for reading DMA count

Add a wrapper for reading the DMA count register, analogous
to the one for writing to this register.

Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Cc: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/musbhsdma.h