usb: typec: ucsi: ccg: add get_fw_info function
authorAjay Gupta <ajayg@nvidia.com>
Tue, 23 Apr 2019 14:21:45 +0000 (17:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2019 09:03:52 +0000 (11:03 +0200)
commit5d438e200215f61ca6a7aa69f3c4e035ac54d8ee
treed670722cc7dcd74ad80acb12e7755f81ca327a2b
parent6e3c8beb4f92a18a65e521cc5fe75874b6e2c860
usb: typec: ucsi: ccg: add get_fw_info function

Function is to get the details of ccg firmware and device version.
It will be useful in debugging and also during firmware update.

Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi_ccg.c