coresight: etm4x: Fix merge resolution for amba rework
authorUwe Kleine-König <uwe@kleine-koenig.org>
Fri, 5 Feb 2021 13:08:47 +0000 (14:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Feb 2021 14:02:48 +0000 (15:02 +0100)
commit1609faa9e675c8168b640697c82c7b31befd2658
tree6eb732145a8b89a024c8e5eec23591181470b354
parente2057ee29973b9741d43d3f475a6b02fb46a0e61
coresight: etm4x: Fix merge resolution for amba rework

This was non-trivial to get right because commits
c23bc382ef0e ("coresight: etm4x: Refactor probing routine") and
5214b563588e ("coresight: etm4x: Add support for sysreg only devices")
changed the code flow considerably. With this change the driver can be
built again.

Fixes: 0573d3fa4864 ("Merge branch 'devel-stable' of git://git.armlinux.org.uk/~rmk/linux-arm into char-misc-next")
Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Link: https://lore.kernel.org/r/20210205130848.20009-1-uwe@kleine-koenig.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-etm4x-core.c