MLK-11870 usb: chipidea: otg: disable term select override for B device
In MLK-11272, we introduce a workaround to resolve data pulse detection
IC issue in i.MX7D, but did not disable the term select override after
the A device becomes B device in some cases: a_idle --> enable term
select override --> b_idle, which cause the B device cannot be enumerated
in b_peripheral mode. This patch is to fix it by disable the term select
and data pulse when A device becomes B device.
Signed-off-by: Li Jun <jun.li@freescale.com>
(cherry picked from commit
2df52fcaded838a572c2ee8f93d6cc827a2ebc60)