]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: warn when card doesn't support HPI
authorJaehoon Chung <jh80.chung@samsung.com>
Sun, 11 Mar 2012 23:57:27 +0000 (08:57 +0900)
committerChris Ball <cjb@laptop.org>
Tue, 27 Mar 2012 16:20:12 +0000 (12:20 -0400)
commit6ec0bb2d9bf0a10294328aa7e416a32c5a938eaf
treea559ad5e1319701473139280a0dded127c8a8a37
parent15f580da5e9d0629a4007462a6b5bf60777fad59
mmc: core: warn when card doesn't support HPI

Someone could use send_hpi_cmd() on a card that doesn't advertise support
for HPI.  Then maybe didn't work fine.  Because card->ext_csd.hpi_cmd
didn't set.  So if card didn't support hpi, return the warning message.

And CMD12's flags is MMC_RSP_R1B.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/mmc_ops.c