staging: bcm2835-camera: Remove explicit cache flush operations
authorMichael Zoran <mzoran@crowfest.net>
Wed, 8 Mar 2017 12:21:51 +0000 (04:21 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Mar 2017 12:37:44 +0000 (13:37 +0100)
commit7e8dbea410322092af3d2c0635da5a3341b19998
treecfab20090a85f6d94edc54043e98bbf02006ab8f
parent5b6d458e87e1a1937cab15b6d44eff2ae9ed8b55
staging: bcm2835-camera: Remove explicit cache flush operations

The camera code has an explicit cache flush operation
which is not portable.  Now that vc04_services is using portable
DMA APIs that already do the cache flushing, explicit flushes
should no longer be needed.

The one call to __cpuc_flush_dcache_area has been removed.

Testing:
The offical V2 camera for the RPI was tested on a RPI 3
running in 32 bit mode(armhf).  The cheese application
and ffmpeg was used to view and stream video from the
camera.  Nothing new seems to be broken without the
cache flushing.

Signed-off-by: Michael Zoran <mzoran@crowfest.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c