Commit b3fc78c2 authored by Chandra Devireddy's avatar Chandra Devireddy Committed by Bryan Huntsman
Browse files

USB: msm72k_otg: disable BAM mode



In BAM mode, USB core does posted writes on AHB bus, when it moves
the received setup packet to the memory. This might lead HW to fail in
copying the setup packet into the memory, before software reads. This
leads data corruption in setup packet and might lead USB re-enumeration.

If we don't use BAM mode for USB, then we should explicitly disable
the USB BAM mode by setting bit-13 of USB_GEN_CONFIG register. This
would prevent posted writes and resolves the above issue.

Signed-off-by: default avatarChandra Devireddy <cdevired@codeaurora.org>
parent 5578bdb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment