From: Tony Lindgren Date: Sat, 8 Sep 2007 02:05:23 +0000 (-0700) Subject: musb_hdrc: Fix tusb3.1 revsision check again X-Git-Tag: v2.6.23-omap1~79 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=936d6022eba29cf7320e175b9ee55888b259529a;p=linux-2.6-omap-h63xx.git musb_hdrc: Fix tusb3.1 revsision check again The die ID register revision register is four bits. The bits don't make sens though, they can be greater than 2 for tusb3.1? Signed-off-by: Tony Lindgren --- diff --git a/drivers/usb/musb/tusb6010.h b/drivers/usb/musb/tusb6010.h index 2fc9f5a5f7a..16a311a1f03 100644 --- a/drivers/usb/musb/tusb6010.h +++ b/drivers/usb/musb/tusb6010.h @@ -218,7 +218,7 @@ #define TUSB_DIDR1_LO 0x1f8 #define TUSB_DIDR1_HI 0x1fc -#define TUSB_DIDR1_HI_CHIP_REV(v) (((v) >> 17) & 0x3) +#define TUSB_DIDR1_HI_CHIP_REV(v) (((v) >> 17) & 0xf) #define TUSB_DIDR1_HI_REV_20 0 #define TUSB_DIDR1_HI_REV_30 1 #define TUSB_DIDR1_HI_REV_31 2