diff options
author | Anand Gadiyar <gadiyar@ti.com> | 2010-12-13 11:30:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-16 16:36:12 -0500 |
commit | 6ef9fc657bd69c708ada2ee9fd3b2e13f7600a3d (patch) | |
tree | 6e9a1bf01ccfc854ebd5bb37862380f24ef7e34e | |
parent | a0c9e95dfc6898dbc178d7b962916f3823434e6e (diff) |
usb: ehci-omap: fix tll channel enable mask
The TLL channel enable code searches for the wrong mask, and
could end up enabling the wrong port. Fix this.
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/usb/host/ehci-omap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index 0374eb47f09b..680f2ef4e59f 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c | |||
@@ -90,9 +90,9 @@ | |||
90 | #define OMAP_TLL_ULPI_SCRATCH_REGISTER(num) (0x816 + 0x100 * num) | 90 | #define OMAP_TLL_ULPI_SCRATCH_REGISTER(num) (0x816 + 0x100 * num) |
91 | 91 | ||
92 | #define OMAP_TLL_CHANNEL_COUNT 3 | 92 | #define OMAP_TLL_CHANNEL_COUNT 3 |
93 | #define OMAP_TLL_CHANNEL_1_EN_MASK (1 << 1) | 93 | #define OMAP_TLL_CHANNEL_1_EN_MASK (1 << 0) |
94 | #define OMAP_TLL_CHANNEL_2_EN_MASK (1 << 2) | 94 | #define OMAP_TLL_CHANNEL_2_EN_MASK (1 << 1) |
95 | #define OMAP_TLL_CHANNEL_3_EN_MASK (1 << 4) | 95 | #define OMAP_TLL_CHANNEL_3_EN_MASK (1 << 2) |
96 | 96 | ||
97 | /* UHH Register Set */ | 97 | /* UHH Register Set */ |
98 | #define OMAP_UHH_REVISION (0x00) | 98 | #define OMAP_UHH_REVISION (0x00) |