mmc: block: Add check to mmc_blk_part_switch
Sometimes after failing RPMB access due to card in bad voltgae state, If issue USER parition access request,it fails as card is already in bad state. Fix this by adding error handling to mmc_blk_part_switch() and by resetting the block whenever partition switch fails. Change-Id: Iff14c3ce0153470fab286f7bd08de89f720485b6 Signed-off-by:Pavan Anamula <pavana@codeaurora.org> Signed-off-by:
Ram Prakash Gupta <rampraka@codeaurora.org>
Loading
Please register or sign in to comment