summaryrefslogtreecommitdiffstats
path: root/samples/trace_events/trace-events-sample.c
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 /samples/trace_events/trace-events-sample.c
parent03eafcfb60c0da4f08a638f0dd5926fc2fc1d64a (diff)
downloadlinux-8afe9a3548f9d1805dcea6d97978f2179c8403a3.tar.bz2
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 'samples/trace_events/trace-events-sample.c')
0 files changed, 0 insertions, 0 deletions