bus: fsl-mc: use raw spin lock to serialize mc cmds
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Fri, 17 Jul 2020 15:47:59 +0000 (18:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2020 14:54:33 +0000 (16:54 +0200)
commit9a872def598195d2de4a4a74e17804142e2aa78e
tree101f0671ac49003467655ada35727a190052e332
parenta3b7a581823857fab4fae71be9d1c830af78a766
bus: fsl-mc: use raw spin lock to serialize mc cmds

Replace the spinlock that serializes the MC commands with a raw
spinlock. This is needed for the RT kernel because there are MC
commands sent in interrupt context.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Link: https://lore.kernel.org/r/20200717154800.17169-3-ioana.ciornei@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/fsl-mc/mc-io.c
drivers/bus/fsl-mc/mc-sys.c
include/linux/fsl/mc.h