commit | f95b36871ac62016c526b772fde9290c86af294d | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Sun Oct 20 15:12:20 2019 -0500 |
committer | Samuel Holland <samuel@sholland.org> | Fri Dec 13 19:20:36 2019 -0600 |
tree | 6ff78da689ea58e890110cb6e92bebd65d971533 | |
parent | f9da1343f865a2fb9b0cb34d99fde50921507552 [diff] |
allwinner: Synchronize PMIC enumerations Ensure that the default (zero) value represents the case where we take no action. Previously, if a PLAT=sun50i_a64 build was booted on an unknown SoC ID, it would be treated as an H5 at shutdown. This removes some duplicate code and fixes error propagation on H6. Signed-off-by: Samuel Holland <samuel@sholland.org> Change-Id: I4e51d8a43a56eccb0d8088593cb9908e52e782bc