]> git.baikalelectronics.ru Git - kernel.git/commit
staging: typec: tcpm: Respond to Discover Identity commands
authorGuenter Roeck <linux@roeck-us.net>
Tue, 9 May 2017 16:04:58 +0000 (09:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 09:23:56 +0000 (11:23 +0200)
commit8c93b41af5a23b5598e2813d586b62dfaf3d5733
tree1d599882da171c7003dcc373ebc2b3e4846763a2
parent3a219b7d2ef0affb8ceeeab4443f1c752764f227
staging: typec: tcpm: Respond to Discover Identity commands

If the lower level driver provided a list of VDOs in its configuration
data, send it to the partner as response to a Discover Identity command
if in device mode (UFP).

Cc: Yueyao Zhu <yueyao.zhu@gmail.com>
Originally-from: Puma Hsu <puma_hsu@htc.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/typec/pd_vdo.h
drivers/staging/typec/tcpm.c
drivers/staging/typec/tcpm.h