From 936d6022eba29cf7320e175b9ee55888b259529a Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Fri, 7 Sep 2007 19:05:23 -0700 Subject: [PATCH] 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 --- drivers/usb/musb/tusb6010.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.41.1