From aea8dfb9f32bf90dd6fd00758978b50efdc08df5 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Tue, 26 Aug 2014 13:37:41 +0200 Subject: [PATCH] regulator: max77802: set opmode to normal if off is read from hw The max77802 driver reads the default operating mode (opmode) set for regulators when enabled from the hardware registers. But if a regulator is disabled and the system warm restarted, the hardware reports OFF as the opmode so the regulator is not enabled. Default to operating mode NORMAL if OFF is read from the hardware register. Reported-by: Yuvaraj Cd Signed-off-by: Javier Martinez Canillas Reviewed-by: Doug Anderson Tested-by: Yuvaraj Kumar CD Signed-off-by: Mark Brown --- Reading git-format-patch failed