]> git.baikalelectronics.ru Git - kernel.git/commit
staging: typec: tcpm: Follow Try.SRC exit requirements
authorBadhri Jagan Sridharan <badhri@google.com>
Mon, 28 Aug 2017 17:23:16 +0000 (10:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Aug 2017 06:21:10 +0000 (08:21 +0200)
commitd08ad7e58e8149c32d18f859ef1c1791b9e229db
tree90b3fb1d9258e46fb64fc6623b84dbbf84f73251
parentb178a250c4ae7ece4e36c8e04fc3f7f905ca01b7
staging: typec: tcpm: Follow Try.SRC exit requirements

According to spec:
" 4.5.2.2.9.2 Exiting from Try.SRC State:
The port shall transition to Attached.SRC when the SRC.Rd
state is detected on exactly one of the CC1 or CC2 pins for
at least tPDDebounce. The port shall transition to
TryWait.SNK after tDRPTry and the SRC.Rd state has not been
detected."

Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/typec/tcpm.c