power: smb5: Fix Type-C mode with non-compliant shorted cable

When a QC adapter is inserted with non-compliant shorted cable,
SMB5 charger shows shorted cable without Rp value (rp-std,
med or high), as a result, SW reports non typec connection.

Fix it by reporting 'Type-C non-compliant' instead.

CRs-Fixed: 2249471
Change-Id: I7899f92b3f0923661346c3305b9295ad85804586
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2 files changed