]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
coresight: etb10: Move etb_disable_hw() outside of lock
authorMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 2 Aug 2017 16:21:58 +0000 (10:21 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 14:05:47 +0000 (16:05 +0200)
commit1655a3d6f3174f359bc0bf25312fa4057dc81c72
tree252e7e9bf046e7d278502e84692de9f24f2a91ec
parent0c3fc4d5fa26092853278145aca9b21fa52a3e93
coresight: etb10: Move etb_disable_hw() outside of lock

Function etb_disable_hw() is already taking care of unlocking and locking
the coresight access register and as such doesn't need to be placed
within the unlock/lock of function etb_update_buffer().

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-etb10.c