]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: typec: ucsi: Remove unused fields from struct ucsi_connector_status
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Fri, 16 Aug 2024 13:58:54 +0000 (16:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2024 10:47:38 +0000 (18:47 +0800)
commit9ecf52153b6f6681853b60c9912231e03857dff4
tree18c70964a103df910aea2b6471dc4210eb4fcabe
parenta139c98f760efa1b6f0ee2f36ea6f62f04c8b20a
usb: typec: ucsi: Remove unused fields from struct ucsi_connector_status

The new fields are valid only with the new UCSI versions.
They are at offsets that go beyond the MAX_DATA_LENGTH (16
bytes) with the older UCSI versions. That has not caused any
problems before because nothing uses those new fields yet.
Because they are not used yet, dropping them for now.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240816135859.3499351-2-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi.h