]> git.baikalelectronics.ru Git - kernel.git/commit
thunderbolt: Rename EEPROM handling bits to match USB4 spec
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 3 Mar 2022 13:13:28 +0000 (07:13 -0600)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 4 Mar 2022 14:10:36 +0000 (17:10 +0300)
commit2d0527dee4e9ad7d154bae2bcb29ddc9ab798037
treeb844562ade776a41847bec435f150a93ed7884cc
parentf8d0a8dae1b1c10838af27b89835885b93e8f0dc
thunderbolt: Rename EEPROM handling bits to match USB4 spec

The structure `tb_eeprom_ctl` is used to show the bits accessed when
reading/writing EEPROM.

As this structure is specified in the USB4 spec as `VSC_CS_4` update
the names and use of members to match the specification. This should not
change anything functionally.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/eeprom.c
drivers/thunderbolt/tb_regs.h