linux-stable/drivers/mmc
Liming Sun f9985102f4 sdhci-of-dwcmshc: disable PM runtime in dwcmshc_remove()
commit 0374930990 upstream.

This commit disables PM runtime in dwcmshc_remove() to avoid the
error message below when reloading the sdhci-of-dwcmshc.ko

  sdhci-dwcmshc MLNXBF30:00: Unbalanced pm_runtime_enable!

Fixes: 48fe8fadbe ("mmc: sdhci-of-dwcmshc: Add runtime PM operations")
Reviewed-by: David Thompson <davthompson@nvidia.com>
Signed-off-by: Liming Sun <limings@nvidia.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/b9155963ffb12d18375002bf9ac9a3f98b727fc8.1710854108.git.limings@nvidia.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-03 15:32:40 +02:00
..
core mmc: core: Avoid negative index with array access 2024-04-03 15:32:40 +02:00
host sdhci-of-dwcmshc: disable PM runtime in dwcmshc_remove() 2024-04-03 15:32:40 +02:00
Kconfig
Makefile