]> git.baikalelectronics.ru Git - kernel.git/commit
intel_th: gth: Fix the window switching sequence
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Mon, 28 Oct 2019 07:06:45 +0000 (09:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Nov 2019 14:01:22 +0000 (15:01 +0100)
commit78c7794e8615ac1ec80d02c886b0ad59dd7944e4
tree61ab9c470c3328b48dd2317e95c48f2106a381f5
parent0c24b775563762927500e16f40e850774e641f0e
intel_th: gth: Fix the window switching sequence

Commit 42cbe9c819a3 ("intel_th: Add switch triggering support") added
a trigger assertion of the CTS, but forgot to de-assert it at the end
of the sequence. This results in window switches randomly not happening.

Fix that by de-asserting the trigger at the end of the window switch
sequence.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Fixes: 42cbe9c819a3 ("intel_th: Add switch triggering support")
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20191028070651.9770-2-alexander.shishkin@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/intel_th/gth.c