[PATCH v6 1/3] usb: fsl-mxc-udc: replace cpu_is_xxx() with platform_device_id

Fabio Estevam festevam at gmail.com
Thu Jan 17 22:13:19 EST 2013


On Thu, Jan 17, 2013 at 8:01 AM, Peter Chen <peter.chen at freescale.com> wrote:

>         /* make sure USB_CLK is running at 60 MHz +/- 1000 Hz */
> -       if (!cpu_is_mx51()) {
> +       if (!strcmp(pdev->id_entry->name, "imx-udc-mx27")) {]]

Shouldn't this be:
 if (!strcmp(pdev->id_entry->name, "imx-udc-mx51"))


More information about the Linuxppc-dev mailing list