summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSeunghui Lee <sh043.lee@samsung.com>2021-02-22 17:31:56 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-22 10:38:17 +0200
commit458319b47133af9aaf86da0bb1a366846e61d913 (patch)
tree794a33fff2c7fc7f9b6bb0947087d23f5d64b74a /tools/perf/scripts/python/bin
parentf9c694ebe3afd9a754b8c9a6592329cd89d0c174 (diff)
mmc: core: Set read only for SD cards with permanent write protect bit
commit 917a5336f2c27928be270226ab374ed0cbf3805d upstream. Some of SD cards sets permanent write protection bit in their CSD register, due to lifespan or internal problem. To avoid unnecessary I/O write operations, let's parse the bits in the CSD during initialization and mark the card as read only for this case. Signed-off-by: Seunghui Lee <sh043.lee@samsung.com> Link: https://lore.kernel.org/r/20210222083156.19158-1-sh043.lee@samsung.com Cc: stable@vger.kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions