commit | c749d9fe891e2037faeeb4a12432abd65aa7288d | [log] [tgz] |
---|---|---|
author | Guru Das Srinagesh <gurus@codeaurora.org> | Fri Feb 01 14:58:37 2019 -0800 |
committer | Guru Das Srinagesh <gurus@codeaurora.org> | Mon Mar 18 10:04:28 2019 -0700 |
tree | c4b74be2acccd272593ffcb63eb9fd1dd94b2540 | |
parent | 31257a5c878cf9f260f3f205d60af72ba7a53107 [diff] |
power: smb5-lib: Add DT option to disable LPD feature Currently, the Liquid Presence Detection feature is enabled by default on USB Type-C port. However, it may not be desired on some platforms that share this driver. Provide a DT option to switch LPD feature off. This patch has been updated to reduce the cyclomatic complexity of smb5_init_hw(). Change-Id: I5c08e9fe8bd1bdc569de8dafdd5f3616edadb629 Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>