mmc: sdhci: only flush cache for data command
authorKevin Liu <kevinliu@asrmicro.com>
Wed, 8 Mar 2017 07:16:44 +0000 (15:16 +0800)
committerStefan Roese <sr@denx.de>
Wed, 29 Mar 2017 05:38:06 +0000 (07:38 +0200)
commit5b3e5b56969cb61d73a7c293679ba1536a94e70e
treebf3ac77bf6b27ce2e3c1d3500519e77a3aa78c25
parentaff32df522e5b1a7e4391fd00ffe14a3f107fcd3
mmc: sdhci: only flush cache for data command

No need to flush cache for command without data.

Signed-off-by: Kevin Liu <kevinliu@asrmicro.com>
drivers/mmc/sdhci.c