Skip to content

Commit a42a7ec

Browse files
zulkifl3storulf
authored andcommitted
mmc: sdhci-of-arasan: Fix clock registration error for Keem Bay SOC
The commit 16ada73 ("mmc: sdhci-of-arasan: Modify clock operations handling") introduced support for platform specific clock operations. Around the same point in time the commit 36c6aad ("mmc: sdhci-of-arasan: Add support for Intel Keem Bay") was also merged. Unfortunate it was not really tested on top of the previously mentioned commit, which causes clock registration failures for Keem Bay SOC devices. Let's fix this, by properly declaring the clock operation for Keem Bay SOC devices. Fixes: 36c6aad ("mmc: sdhci-of-arasan: Add support for Intel Keem Bay") Signed-off-by: Muhammad Husaini Zulkifli <[email protected]> Reviewed-by: Adrian Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent 903a72e commit a42a7ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/mmc/host/sdhci-of-arasan.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,16 +1186,19 @@ static struct sdhci_arasan_of_data sdhci_arasan_versal_data = {
11861186
static struct sdhci_arasan_of_data intel_keembay_emmc_data = {
11871187
.soc_ctl_map = &intel_keembay_soc_ctl_map,
11881188
.pdata = &sdhci_keembay_emmc_pdata,
1189+
.clk_ops = &arasan_clk_ops,
11891190
};
11901191

11911192
static struct sdhci_arasan_of_data intel_keembay_sd_data = {
11921193
.soc_ctl_map = &intel_keembay_soc_ctl_map,
11931194
.pdata = &sdhci_keembay_sd_pdata,
1195+
.clk_ops = &arasan_clk_ops,
11941196
};
11951197

11961198
static struct sdhci_arasan_of_data intel_keembay_sdio_data = {
11971199
.soc_ctl_map = &intel_keembay_soc_ctl_map,
11981200
.pdata = &sdhci_keembay_sdio_pdata,
1201+
.clk_ops = &arasan_clk_ops,
11991202
};
12001203

12011204
static const struct of_device_id sdhci_arasan_of_match[] = {

0 commit comments

Comments
 (0)