mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
FROMGIT: 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.
Bug: 174347172
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>
(cherry picked from commit 523a97aa3b
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next)
Cc: Badhri Jagan Sridharan <badhri@google.com>
Cc: Will McVicker <willmcvicker@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I234173609f3fd9a7880f712d6e5c2d14721a7534
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e5bc26639e
commit
e670fd9917
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user