usb: chipidea: ci_hdrc_imx: Pass DISABLE_STREAMING flag to imx6ul
Subsystems (4)
Fabio Estevam
reviewerPATCH 1/1 usb: chipidea: ci_hdrc_imx: Pass DISABLE_STREAMING flag to imx6ul
According to the i.MX6UL Errata document:
https://www.nxp.com/docs/en/errata/IMX6ULCE.pdf
ERR007881 also affects i.MX6UL, so pass the CI_HDRC_DISABLE_STREAMING flag to workaround the issue.
Cc <[email protected]>
Fixes 52fe568e5d71 ("usb: chipidea: imx: add imx6ul usb support")
Signed-off-by Fabio Estevam <[email protected]>
--- drivers/usb/chipidea/ci_hdrc_imx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/usb/chipidea/ci_hdrc_imx.c +2 -1
@@ -57,7 +57,8 @@ static const struct ci_hdrc_imx_platform_flag imx6sx_usb_data = {static const struct ci_hdrc_imx_platform_flag imx6ul_usb_data = { .flags =CI_HDRC_SUPPORTS_RUNTIME_PM | -CI_HDRC_TURN_VBUS_EARLY_ON , +CI_HDRC_TURN_VBUS_EARLY_ON | +CI_HDRC_DISABLE_STREAMING , };static const struct ci_hdrc_imx_platform_flag imx7d_usb_data = {
Signature · 1 line
2.17.1
Quoted 19 lines · Fabio Estevam
ERR007881 also affects i.MX6UL, so pass the
CI_HDRC_DISABLE_STREAMINGflag to workaround the issue.Cc <[email protected]>Fixes 52fe568e5d71 ("usb: chipidea: imx: add imx6ul usb support")Signed-off-by Fabio Estevam <[email protected]>--- drivers/usb/chipidea/ci_hdrc_imx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/usb/chipidea/ci_hdrc_imx.c +0
-0
drivers/usb/chipidea/ci_hdrc_imx.c static const struct ci_hdrc_imx_platform_flag imx6sx_usb_data = { · line 64
Quoted 9 lines
drivers/usb/chipidea/ci_hdrc_imx.c +2
-1@@ -57,7 +57,8 @@ static const struct ci_hdrc_imx_platform_flag imx6sx_usb_data = {static const struct ci_hdrc_imx_platform_flag imx6ul_usb_data = { .flags =CI_HDRC_SUPPORTS_RUNTIME_PM | -CI_HDRC_TURN_VBUS_EARLY_ON , +CI_HDRC_TURN_VBUS_EARLY_ON | +CI_HDRC_DISABLE_STREAMING , };static const struct ci_hdrc_imx_platform_flag imx7d_usb_data = {
Hi Fabio,
Does the customer really meet this issue? If it does, please use CI_HDRC_DISABLE_DEVICE_STREAMING instead of CI_HDRC_DISABLE_STREAMING, since the latter will disable stream mode for host as well.
Signature · 2 lines
Thanks, Peter Chen