usb: typec: ucsi_ccg: Disable UCSI ALT support on Tegra
authorSing-Han Chen <singhanc@nvidia.com>
Wed, 28 Sep 2022 15:08:40 +0000 (23:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Sep 2022 11:55:32 +0000 (13:55 +0200)
commit691f43cbfe631488cc3fe2d01658fd372c9ef0a7
treee0dc403d88da8ed4c0b7006ba539fd90b81cc4f2
parentc9180362a920b99f2aef7d55b89ae94b8138474e
usb: typec: ucsi_ccg: Disable UCSI ALT support on Tegra

Firmware built for Tegra doesn't support UCSI ALT command and has known
issue of reporting wrong capability info.

This commit disables UCSI ALT support when reading the capability on
Tegra.

Signed-off-by: Sing-Han Chen <singhanc@nvidia.com>
Signed-off-by: Wayne Chang <waynec@nvidia.com>
Link: https://lore.kernel.org/r/20220928150840.3804313-1-waynec@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi_ccg.c