Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c0f13b4e authored by Xiaozhe Shi's avatar Xiaozhe Shi
Browse files

power: qpnp-smbcharger: fix USBID ADC code reading



Currently, the USBID reading is assuming the PMI8994 USBID ADC code byte
ordering is the same as the architecture. This is not correct and can
cause certain OTG cables to be wrongly detected as non-OTG and
vice-versa.

Fix the byte ordering so that the correct USBID is being read.

Change-Id: Icd3c0cf3e522f2beef5e6ba8e900118e47380b8a
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent ab01e731
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment