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)
commit193a68011fdc002cc03d6e6edabf941251df5690
tree1d599882da171c7003dcc373ebc2b3e4846763a2
parent931693f973507b320ecbdccd0ac3e786ddaf795f
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