]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
stm class: sys-t: Fix the use of time_after()
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Tue, 17 Mar 2020 06:22:11 +0000 (08:22 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 3 Apr 2020 13:17:23 +0000 (15:17 +0200)
commite878d1cdfabecd1d89db22f91a146cd68237b836
treea7497eb8b2a8519ccf57d9f4d9f0b80545b24753
parentfb4a8876667b17db81607eafce0c802c90a80ae2
stm class: sys-t: Fix the use of time_after()

BugLink: https://bugs.launchpad.net/bugs/1869061
commit 283f87c0d5d32b4a5c22636adc559bca82196ed3 upstream.

The operands of time_after() are in a wrong order in both instances in
the sys-t driver. Fix that.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Fixes: 39f10239df75 ("stm class: p_sys-t: Add support for CLOCKSYNC packets")
Fixes: d69d5e83110f ("stm class: Add MIPI SyS-T protocol support")
Cc: stable@vger.kernel.org # v4.20+
Link: https://lore.kernel.org/r/20200317062215.15598-3-alexander.shishkin@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
drivers/hwtracing/stm/p_sys-t.c