mmc: msm_sdcc: Reset SPS BAM on error recovery
In the current soft reset sequence performed as part of CMD/DATA error recovery we do the following: 1) Write 1 to DML_SW_RESET 2) Reset CPSM/DPSM by clearing MCI_CMD and MCI_DATA_CTL or by writing to MCI_SW_RST_CONFIG. 3) Re-init DML 4) Reconfigure both consumer and producer BAM pipes. The BAM pipe reset does not reset the sideband signals, since only SDCC side is reset SDCC - BAM communication will go out of sync and cause DML to be stuck without transferring data. Hence reset BAM core every time SDCC is reset (which is on error recovery). Fix error handling for sps pipe or device reset. Change-Id: I745e015c862fffa36a814cd007d2e82383668b3a Signed-off-by:Venkat Gopalakrishnan <venkatg@codeaurora.org> Signed-off-by:
Krishna Konda <kkonda@codeaurora.org>
Loading
Please register or sign in to comment