On Wed, Sep 19, 2012 at 02:18:45PM +0530, Ramneek Mehresh wrote: > Add support for USB controller version 2.4 > > Signed-off-by: Ramneek Mehresh <ramneek.mehresh@xxxxxxxxxxxxx> > --- > Applies on git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git > (branch usb-next) > > drivers/usb/host/fsl-mph-dr-of.c | 2 ++ > include/linux/fsl_devices.h | 1 + > 2 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/drivers/usb/host/fsl-mph-dr-of.c b/drivers/usb/host/fsl-mph-dr-of.c > index 22ff6b3..1e77129 100644 > --- a/drivers/usb/host/fsl-mph-dr-of.c > +++ b/drivers/usb/host/fsl-mph-dr-of.c > @@ -133,6 +133,8 @@ static int usb_get_ver_info(struct device_node *np) > ver = FSL_USB_VER_1_6; > else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.2")) > ver = FSL_USB_VER_2_2; > + else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.4")) > + ver = FSL_USB_VER_2_4; What is going to happen for the next version? Why do you need to check this for every new release of this chip? You aren't doing anything with this check that I can see, so it seems kind of pointless, and you will constantly be "behind" the hardware curve, right? In other words, why not just rip this out entirely, and only care about any version that might cause problems for known old chips? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html