]> Gentwo Git Trees - linux/.git/commit
mmc: mtk-sd: Do single write in function msdc_new_tx_setting
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 25 Mar 2025 11:07:00 +0000 (12:07 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 14 May 2025 14:59:16 +0000 (16:59 +0200)
commit1649904e84aaa5c62584d0e3d5b29b221fc89558
tree87d63331f28d43851639e3ec5b3b1bf48f8ade9a
parent091bf793eb06f01ca0e2ec2f327957cce816c96e
mmc: mtk-sd: Do single write in function msdc_new_tx_setting

Instead of reading and writing the LOOP_TEST_CONTROL register for
each set or cleared bit, read it once, modify the contents in a
local variable, and then write once.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20250325110701.52623-4-angelogioacchino.delregno@collabora.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mtk-sd.c