]> asedeno.scripts.mit.edu Git - linux.git/commit
media: dmxdev: Fix the logic that enables DMA mmap support
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Feb 2018 15:44:49 +0000 (10:44 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 23 Feb 2018 10:27:10 +0000 (05:27 -0500)
commit0b23498aacc658e4d0f6b240f0b905908695a132
tree29934a00c2b1c94786bcfb71a13d94a42dc3c8d0
parenta145f64c6107d3aa5a7cec9f8977d04ac2a896c9
media: dmxdev: Fix the logic that enables DMA mmap support

Some conditions required for DVB mmap support to work are reversed.
Also, the logic is not too clear.

So, improve the logic, making it easier to be handled.

PS.: I'm pretty sure that I fixed it while testing, but, somehow,
the change got lost.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-core/dmxdev.c
include/media/dmxdev.h