]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
mmc: mtk-sd: Clarify patch bit register initialization and layout
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 25 Mar 2025 11:06:58 +0000 (12:06 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 14 May 2025 14:59:16 +0000 (16:59 +0200)
commit6cdf5f1d7d4dcc4bf3fff1de37711d653d4a6bf8
tree191e0256a1265c56d6c74050feeb4616294d612c
parentc63d25cdc59ae2891b39ba2da950910291d9bcbf
mmc: mtk-sd: Clarify patch bit register initialization and layout

In preparation for cleaning up the msdc_init_hw register setting
for the patch bit registers, add the necessary definitions for
bits in the MSDC_PATCH_BIT and MSDC_PATCH_BIT1 registers and use
them in place of "magic numbers" writes during initialization.

This commit brings no functional differences.

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