aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phy/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2020-07-24 19:46:59 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-29 14:11:05 +0200
commit8afe9a3548f9d1805dcea6d97978f2179c8403a3 (patch)
tree9a899de804a25f821f051c29c7c1760d15fddb07 /include/linux/phy/git:/ssh:/git@git.zx2c4.com
parentusb: typec: tcpm: Add tcpm_queue_vdm_unlocked() helper (diff)
downloadlinux-dev-8afe9a3548f9d1805dcea6d97978f2179c8403a3.tar.xz
linux-dev-8afe9a3548f9d1805dcea6d97978f2179c8403a3.zip
usb: typec: tcpm: Refactor tcpm_handle_vdm_request payload handling
Refactor the tcpm_handle_vdm_request payload handling by doing the endianness conversion only once directly inside tcpm_handle_vdm_request itself instead of doing it multiple times inside various helper functions called by tcpm_handle_vdm_request. This is a preparation patch for some further refactoring to fix an AB BA lock inversion between the tcpm code and some altmode drivers. Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20200724174702.61754-3-hdegoede@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions