]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mmc: dw_mmc: Factor out dw_mci_init_slot_caps
authorShawn Lin <shawn.lin@rock-chips.com>
Sat, 24 Feb 2018 06:17:22 +0000 (14:17 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 15 Mar 2018 13:27:35 +0000 (08:27 -0500)
commit3a43bbee937b0d2b9690d12c2d482ebd500cf37c
tree8eeb4f80f456b9a90c678c6b49115bf127c40cd7
parente56b4c64f4c508372bb44f5da4224fe13db80f0b
mmc: dw_mmc: Factor out dw_mci_init_slot_caps

BugLink: http://bugs.launchpad.net/bugs/1755179
commit a4faa4929ed3be15e2d500d2405f992f6dedc8eb upstream.

Factor out dw_mci_init_slot_caps to consolidate parsing
all differents types of capabilities from host contrllers.
No functional change intended.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Fixes: 800d78bfccb3 ("mmc: dw_mmc: add support for implementation specific callbacks")
Cc: <stable@vger.kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/mmc/host/dw_mmc.c