]> git.baikalelectronics.ru Git - 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2020 10:32:55 +0000 (11:32 +0100)
commite58257fcf79caef8404781c6c983ba9e19b24191
tree87427d8d26de6732ee012a93b6913057e8b87778
parentc7495bf2ace53aca1aafc390cb91a0f34e54e93b
stm class: sys-t: Fix the use of time_after()

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: 279905a031f8 ("stm class: p_sys-t: Add support for CLOCKSYNC packets")
Fixes: 506d2d2270f7 ("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>
drivers/hwtracing/stm/p_sys-t.c