staging: fsl-mc: Changed DPRC built-in portal's mc_io to be atomic
authorJ. German Rivera <German.Rivera@freescale.com>
Wed, 6 Jan 2016 22:03:24 +0000 (16:03 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 03:10:12 +0000 (19:10 -0800)
commit1129cde59d08afd91fb2baed66824eb2dbd079aa
tree729884f04b00af9c22a1e2cdd44d9f97c7601026
parent89f067df928b9bfc53430b09aa4ac894f34f7340
staging: fsl-mc: Changed DPRC built-in portal's mc_io to be atomic

The DPRC built-in portal's mc_io is used to send commands to the MC
to program MSIs for MC objects. This is done by the
fsl_mc_msi_write_msg() callback, which is invoked by the generic MSI
layer with interrupts disabled. As a result, the mc_io used in
fsl_mc_msi_write_msg needs to be an atomic mc_io.

Signed-off-by: J. German Rivera <German.Rivera@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/dprc-driver.c
drivers/staging/fsl-mc/bus/mc-bus.c