mmc: sdhci-pci: Allow for 3 bytes from Intel DSM
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 19 Apr 2017 12:48:55 +0000 (15:48 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:42:24 +0000 (21:42 +0200)
commita72016a44703476bdb3567a13695938566e8f413
tree1f7c0dc65c8abc6bb39a3e6fe0ec466aec09ee0f
parent3fcc78340f3a9bef2be7ad54258b06e1f177d3fd
mmc: sdhci-pci: Allow for 3 bytes from Intel DSM

The DSM used by some Intel controllers can return a 3 byte package. Allow
for that by using memcpy to copy the bytes.

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