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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
a3b7a58182
commit
9a872def59
@@ -339,7 +339,7 @@ struct fsl_mc_io {
|
||||
* This field is only meaningful if the
|
||||
* FSL_MC_IO_ATOMIC_CONTEXT_PORTAL flag is set
|
||||
*/
|
||||
spinlock_t spinlock; /* serializes mc_send_command() */
|
||||
raw_spinlock_t spinlock; /* serializes mc_send_command() */
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user