]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: core: Respect quirk_max_rate for non-UHS SDIO card
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 22 Nov 2024 09:37:22 +0000 (17:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 12:49:31 +0000 (13:49 +0100)
commitd79510882433cdfca15a38980ba92a4fb7c930cb
treeae52a7fe47e9582dcf6833820bd4fd7de4671975
parentb2c0850a31b4ea675a20f74a094c7678d142db4c
mmc: core: Respect quirk_max_rate for non-UHS SDIO card

[ Upstream commit a2a44f8da29352f76c99c6904ee652911b8dc7dd ]

The card-quirk was added to limit the clock-rate for a card with UHS-mode
support, although let's respect the quirk for non-UHS mode too, to make the
behaviour consistent.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Message-ID: <1732268242-72799-1-git-send-email-shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mmc/core/sdio.c