OSDN Git Service

staging: typec: tcpci: Only touch target bit when enable vconn
authorLi Jun <jun.li@nxp.com>
Tue, 26 Jun 2018 23:45:31 +0000 (07:45 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 10:49:48 +0000 (19:49 +0900)
commit002514880ef36c26c19b144b11d7dae839ae4fe6
treed159437e01689d014d751770efb45f46fb060612
parent3af50c293368f42390b8f3d9ec19e3b9b858c34d
staging: typec: tcpci: Only touch target bit when enable vconn

We need regmap_update_bits to avoid touch any other bits when
enable or disable vconn.

Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/typec/tcpci.c