]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-of-arasan: Modify clock operations handling
authorManish Narani <manish.narani@xilinx.com>
Mon, 6 Apr 2020 17:43:34 +0000 (23:13 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:20:57 +0000 (11:20 +0200)
commit7f1b223e711f0ecd385e2663a66f9bd12d6e1d42
tree0c637eda66632ee71256aace023c6005c3afa3d1
parentc57c7e76b8767a625fcaeae1795c4b8def90c87c
mmc: sdhci-of-arasan: Modify clock operations handling

The SDHCI clock operations are platform specific. So it better to define
them separately for particular platform. This will prevent multiple
if..else conditions and will make it easy for user to add their own
clock operations handlers.

Signed-off-by: Manish Narani <manish.narani@xilinx.com>
Link: https://lore.kernel.org/r/1586195015-128992-6-git-send-email-manish.narani@xilinx.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-arasan.c