]> git.baikalelectronics.ru Git - kernel.git/commit
staging: fsl-mc: set cacheable flag for added devices if applicable
authorItai Katz <itai.katz@nxp.com>
Mon, 11 Apr 2016 16:55:48 +0000 (11:55 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 01:00:45 +0000 (18:00 -0700)
commitcc2e87e5d6c16f1645fbbdf78e7d07933810472a
tree0dce4ec644aaa5a878e462928701615d2cf5cd30
parent58c2d38ef49d4ab80a7a74bf75235f43ff9ed843
staging: fsl-mc: set cacheable flag for added devices if applicable

Some DPAA2 devices have mmio regions that should be mapped as
cacheable by drivers.  Set IORESOURCE_CACHEABLE in the region's
flags if applicable.

Signed-off-by: Itai Katz <itai.katz@nxp.com>
[Stuart: update subject and commit message]
Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
Acked-by: German Rivera <german.rivera@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/mc-bus.c