]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: core: Cleanup printing of speed mode at card insertion
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 13 Sep 2024 10:28:15 +0000 (18:28 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 14 Oct 2024 10:40:10 +0000 (12:40 +0200)
commitb948d7c57b8bcfff6a94fd5d0d2d615d2a947687
tree0b337c3ee566e8b0760074511425bd5a49ce285c
parent899404e1503461adde3890828f7ed18a3032ec59
mmc: core: Cleanup printing of speed mode at card insertion

The current print of the bus speed mode in mmc_add_card() has grown over
the years and is now difficult to parse. Let's clean up the code and also
take the opportunity to properly announce "DDR" for eMMCs as
"high speed DDR", which is according to the eMMC spec.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20240913102836.6144-2-victorshihgli@gmail.com
drivers/mmc/core/bus.c