Messages in this thread | | | Date | Sat, 25 Feb 2012 04:51:28 +0100 | From | Wolfram Sang <> | Subject | Re: [PATCH v2] USB: Support for LPC32xx SoC |
| |
> I would recomment telling this from the device itself rather than from the > platform.
Basically yes...
> Unfortunately, the way that ohci handles the abstraction between the > various implementations is backwards, it would be much easier if the > main driver was following that model to start with.
... exactly for that reason I didn't suggest it. Looking at other ohci-sources (e.g. ohci-omap.c), machine_is_* seems to be the consistent use-case.
Thanks,
Wolfram
-- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ | [unhandled content-type:application/pgp-signature] | |