Re: [PATCH] Revert "usb: host: ehci-msm: Use devm_ioremap_resource instead of devm_ioremap"

From: Ivan T. Ivanov
Date: Tue Apr 21 2015 - 07:19:03 EST



On Tue, 2015-04-21 at 16:46 +0530, Vivek Gautam wrote:
> Hi,
>
> On Tuesday, April 21, 2015 12:41 PM "Ivan T. Ivanov"
> ivanov@xxxxxxxxxx> wrote:
> > This reverts commit 70843f623b58 ("usb: host: ehci-msm: Use
> > devm_ioremap_resource instead of devm_ioremap"), because msm_otg
> > and this driver are using same address space to access AHB mode
> > and USB command registers.
> >
> > Cc: Vivek Gautam vivek@xxxxxxxxxxx>
>
> Since ehci-msm and msm_otg both want to control few USB registers,
> it makes sense to request ioremap'ed region in both drivers.
>
> Acked-by: Vivek Gautam vivek@xxxxxxxxxxx>
>
> I can see a patch in mailing list for adding both ehci-host and otg on msm
> [1].
> But I think it has not yet made it to mainline kernel.
>
> [1] [v3,04/11] ARM: dts: apq8064: Add USB OTG support
> https://patches.linaro.org/47067/

Thanks. Ivan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/