From: Krzysztof Kozlowski Date: Mon, 3 Nov 2014 14:07:05 +0000 (+0100) Subject: regulator: max77693: Fix use of uninitialized regulator config X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~150^2^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca0c37a0b489bb14bf3e1549e7a8d0c9a17f4919;p=pandora-kernel.git regulator: max77693: Fix use of uninitialized regulator config Driver allocated on stack struct regulator_config but didn't initialize it fully. Few fields (driver_data, ena_gpio) were left untouched. This lead to using random ena_gpio values as GPIOs for max77693 regulators. On occasion these values could match real GPIO numbers leading to interfering with other drivers and to unsuccessful enable/disable of regulator. Signed-off-by: Krzysztof Kozlowski Fixes: 80b022e29bfd ("regulator: max77693: Add max77693 regualtor driver.") Cc: Signed-off-by: Mark Brown --- Reading git-diff-tree failed