]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc6f3cb5458ef025c4ca5e64f2cfbc97a49dc5bb8
tree772d86ac294690f0a360382e7ae8b1a3dc15ba8c
parentff57535bb81fdc8ce67a0f9c1e790093c93dc891
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