]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: core: Don't print reset warning if reset is not supported
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 7 May 2015 10:10:25 +0000 (13:10 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:06:59 +0000 (09:06 +0200)
commit0250fdf257b1e5febba19b7cc536a3c9431e50bf
treeb27a7a6e843a18dee0791d478dd86fbb7a9b2ab7
parentb8360a4945c49c07568892b5958c08e01bf7d6d2
mmc: core: Don't print reset warning if reset is not supported

Check the error code for EOPNOTSUPP and do not print
reset warning in that case.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/core.c