Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions drivers/usb/cdns3/cdns3-imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
/* USB3_INT_REG */
#define CLK_125_REQ BIT(29)
#define LPM_CLK_REQ BIT(28)
#define DEVU3_WAEKUP_EN BIT(14)
#define DEVU3_WAKEUP_EN BIT(14)
#define OTG_WAKEUP_EN BIT(12)
#define DEV_INT_EN (3 << 8) /* DEV INT b9:8 */
#define HOST_INT1_EN (1 << 0) /* HOST INT b7:0 */
Expand Down Expand Up @@ -240,9 +240,9 @@ static void cdns3_set_wakeup(struct cdns_imx *data, bool enable)

value = cdns_imx_readl(data, USB3_INT_REG);
if (enable)
value |= OTG_WAKEUP_EN | DEVU3_WAEKUP_EN;
value |= OTG_WAKEUP_EN | DEVU3_WAKEUP_EN;
else
value &= ~(OTG_WAKEUP_EN | DEVU3_WAEKUP_EN);
value &= ~(OTG_WAKEUP_EN | DEVU3_WAKEUP_EN);

cdns_imx_writel(data, USB3_INT_REG, value);
}
Expand Down