]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: prepend 0x to OCR entry in sysfs
authorBastian Stender <bst@pengutronix.de>
Tue, 28 Nov 2017 08:24:07 +0000 (09:24 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 29 Nov 2017 09:46:53 +0000 (10:46 +0100)
commitecce316b5714020d77501b2ae92ff5ece5686e39
tree81a089385bf4360c78cf89c6d2cbef7f698c0549
parentc150a36485b8b60ce283bad82852340b64ea55ac
mmc: core: prepend 0x to OCR entry in sysfs

The sysfs entry "ocr" was missing the 0x prefix to identify it as hex
formatted.

Fixes: b66277d9e9a5 ("mmc: core: Extend sysfs with OCR register")
Signed-off-by: Bastian Stender <bst@pengutronix.de>
Cc: <stable@vger.kernel.org> # v4.8+
[Ulf: Amended change to also cover SD-cards]
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc.c
drivers/mmc/core/sd.c