]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't try to turn power down MMC bus if it is already down
authorIlya Bakulin <kibab@FreeBSD.org>
Tue, 19 Jun 2018 11:28:50 +0000 (11:28 +0000)
committerIlya Bakulin <kibab@FreeBSD.org>
Tue, 19 Jun 2018 11:28:50 +0000 (11:28 +0000)
commit8b0e085f650753a9390124216118a547d24e8d94
treefcf5c679c814721cd4ac16f2f83abfb8c5b984c1
parent4c4200c6d9aa22e12ee0dd716967c8b79369fa1e
Don't try to turn power down MMC bus if it is already down

Regulator framework doens't like turning off already turned off
regulators, so we get panic on AllWinner boards.

Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D15890
sys/cam/mmc/mmc_xpt.c