diff options
author | 2014-11-03 15:07:05 +0100 | |
---|---|---|
committer | 2014-11-03 14:36:02 +0000 | |
commit | ca0c37a0b489bb14bf3e1549e7a8d0c9a17f4919 (patch) | |
tree | c76c7b2f6da2e3cf76e32397daa9cd6bed826470 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linux 3.18-rc1 (diff) | |
download | linux-dev-ca0c37a0b489bb14bf3e1549e7a8d0c9a17f4919.tar.xz linux-dev-ca0c37a0b489bb14bf3e1549e7a8d0c9a17f4919.zip |
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 <k.kozlowski@samsung.com>
Fixes: 80b022e29bfd ("regulator: max77693: Add max77693 regualtor driver.")
Cc: <stable@vger.kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions