usb: musb: ux500: attempt to find channels by name before using pdata
authorLee Jones <lee.jones@linaro.org>
Wed, 15 May 2013 09:51:47 +0000 (10:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 4 Jun 2013 09:12:04 +0000 (11:12 +0200)
commit2968da0b2c7297a29d49c7084d6865c2cf627093
tree4f817cfe3d4f124abcd12288bce7c1e0b90f4639
parent5f6091a023ca435c49467348e388fa89e635436a
usb: musb: ux500: attempt to find channels by name before using pdata

If we can ever get to a state where we can solely search for DMA channels
by name, this will almost completely alleviate the requirement to pass
copious amounts of information though platform data. Here we take the
first step towards this. The next step will be to enable Device Tree
complete with name<->event_line mapping.

Cc: linux-usb@vger.kernel.org
Acked-by: Felipe Balbi <balbi@ti.com>
Acked-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/usb/musb/ux500_dma.c