mirror of https://gitee.com/openkylin/linux.git
usb: typec: Remove one bit support for the Thunderbolt rounded/non-rounded cable
Two bits support for the Thunderbolt rounded/non-rounded cable has been added to the header file. Hence, removing unused TBT_CABLE_ROUNDED definition from the header file. Signed-off-by: Utkarsh Patel <utkarsh.h.patel@intel.com> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> -- changes in v2: - Removed the fixes tag as there is no functional implication. -- Link: https://lore.kernel.org/r/20201113202503.6559-5-utkarsh.h.patel@intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c4f81392d5
commit
523a97aa3b
|
@ -39,7 +39,6 @@ struct typec_thunderbolt_data {
|
|||
#define TBT_CABLE_USB3_GEN1 1
|
||||
#define TBT_CABLE_USB3_PASSIVE 2
|
||||
#define TBT_CABLE_10_AND_20GBPS 3
|
||||
#define TBT_CABLE_ROUNDED BIT(19)
|
||||
#define TBT_CABLE_ROUNDED_SUPPORT(_vdo_) \
|
||||
(((_vdo_) & GENMASK(20, 19)) >> 19)
|
||||
#define TBT_GEN3_NON_ROUNDED 0
|
||||
|
|
Loading…
Reference in New Issue