diff options
author | Johan Hovold <[email protected]> | 2015-05-15 16:27:40 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2015-05-27 13:34:15 +0100 |
commit | e0c21530fa91f119bfca19640a67380c6b14f12a (patch) | |
tree | d1579ae40cb4589126d6e8cc91486137bef5ec8f /include/linux/fpga/fpga-mgr.h | |
parent | 5ebe6afaf0057ac3eaeb98defd5456894b446d22 (diff) |
mfd: da9052: Fix broken regulator probe
Fix broken probe of da9052 regulators, which since commit b3f6c73db732
("mfd: da9052-core: Fix platform-device id collision") use a
non-deterministic platform-device id to retrieve static regulator
information. Fortunately, adequate error handling was in place so probe
would simply fail with an error message.
Update the mfd-cell ids to be zero-based and use those to identify the
cells when probing the regulator devices.
Fixes: b3f6c73db732 ("mfd: da9052-core: Fix platform-device id collision")
Cc: stable <[email protected]> # v3.19
Signed-off-by: Johan Hovold <[email protected]>
Acked-by: Bartlomiej Zolnierkiewicz <[email protected]>
Reviewed-by: Mark Brown <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions