diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-11-23 10:37:25 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-11-23 10:37:25 +0100 |
commit | f6a1f2184c0ea85ad98a4d6e450ad584423d10ce (patch) | |
tree | 2e5f74b714dd46d2c781392fa330c0c339b5919e /drivers/video | |
parent | ARM: avoid marking decompressor .stack section as having contents (diff) | |
parent | mx25: fix spi device registration typo (diff) | |
download | linux-f6a1f2184c0ea85ad98a4d6e450ad584423d10ce.tar.xz linux-f6a1f2184c0ea85ad98a4d6e450ad584423d10ce.zip |
Merge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/mx3fb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c index 7cfc170bce19..ca0f6be9d12e 100644 --- a/drivers/video/mx3fb.c +++ b/drivers/video/mx3fb.c @@ -27,6 +27,7 @@ #include <linux/clk.h> #include <linux/mutex.h> +#include <mach/dma.h> #include <mach/hardware.h> #include <mach/ipu.h> #include <mach/mx3fb.h> @@ -1420,6 +1421,9 @@ static bool chan_filter(struct dma_chan *chan, void *arg) struct device *dev; struct mx3fb_platform_data *mx3fb_pdata; + if (!imx_dma_is_ipu(chan)) + return false; + if (!rq) return false; |