mmc: core: Fix disabling of cache for Hynix cards
Commit 6932a01c (mmc: card: quirk: disable cache for Hynix card) claims to disable cache because of data corruption issues when cache it is enabled. In reality, the patch allows enabling of cache during card initialization but disallow flushing of cache during suspend or file system sync operations. This is more dangerous than without the commit. Move the fixups for disabling cache to mmc_fixups so as to enable the quirk during initialization itself. Also, remove obvious warnings everytime card is initialized during runtime resume. Change-Id: I3f71eaccf90ffdea83f418b7c05be68f5d89d227 Signed-off-by:Sujit Reddy Thumma <sthumma@codeaurora.org>
Loading
Please register or sign in to comment