OSDN Git Service

mmc: sunxi: Disable sample clks on remove
authorHans de Goede <hdegoede@redhat.com>
Sat, 30 Jul 2016 14:25:44 +0000 (16:25 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Sep 2016 19:31:04 +0000 (21:31 +0200)
commit4c5f4bf412eabc355b9c2bc99f8283ca0bd7d6ef
tree311ec6bd77d466f4d702f46be495a669757b4a8b
parent08895a8b6b06ed2323cd97a36ee40a116b3db8ed
mmc: sunxi: Disable sample clks on remove

When support for the sample clks was added calls to prepare_enable
were added to the probe path, but matching calls to disable_unprepare
were forgotten in the remove path, this fixes this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sunxi-mmc.c