USB: imx21-hcd: refactor hardware data memory management
authorMartin Fuzzey <mfuzzey@gmail.com>
Thu, 30 Sep 2010 22:21:43 +0000 (00:21 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:22:02 +0000 (10:22 -0700)
commitb2a068d058e71519e14d2c03e92459c4c1d63c8b
tree772d86ac294690f0a360382e7ae8b1a3dc15ba8c
parente6da55cb0aa36f30168da8c20ceccdc538b054be
USB: imx21-hcd: refactor hardware data memory management

We already have fields describing the hardware data memory
(dmem_size and dmem_offset) in the HCD private data,
use them rather than the rather obscure read from the
hardware descriptor.

Signed-off-by: Martin Fuzzey <mfuzzey@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/imx21-hcd.c