]> 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)
commit758ae95fc0c6d883cde25c986efd1a94ad87d088
tree81a089385bf4360c78cf89c6d2cbef7f698c0549
parent5162c41ff150672f17fd7633ded4a1661799c7d4
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: 3fbd78fdc917 ("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