Re: [PATCH V1] mmc: sdhci: Fix potential null pointer access while accessing vqmmc

2020-07-10 Thread Ulf Hansson
On Thu, 9 Jul 2020 at 15:13, Veerabhadrarao Badiganti wrote: > > Don't access vqmmc regulator handler, if it's already invalidated. > > Fixes: f870b6d480d3 (mmc: sdhci: Allow platform controlled voltage switching) > Reported-by: Dan Carpenter > Signed-off-by: Veerabhadrarao Badiganti Applied fo

[PATCH V1] mmc: sdhci: Fix potential null pointer access while accessing vqmmc

2020-07-09 Thread Veerabhadrarao Badiganti
Don't access vqmmc regulator handler, if it's already invalidated. Fixes: f870b6d480d3 (mmc: sdhci: Allow platform controlled voltage switching) Reported-by: Dan Carpenter Signed-off-by: Veerabhadrarao Badiganti --- drivers/mmc/host/sdhci.c | 12 +++- 1 file changed, 7 insertions(+), 5