media: bcm2835-unicam: Drop WARN on uing direct cache alias
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Thu, 27 Aug 2020 15:30:26 +0000 (16:30 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:03 +0000 (11:33 +0000)
commit2033bafd339a2297a6c6fbe6372299e33eaff91a
treebd1095218228e4e694a497e21e66b7171fe36cb2
parent58738864843feb9c0dd7360a7a978134ba780121
media: bcm2835-unicam: Drop WARN on uing direct cache alias

Pi 0&1 pass all ARM accesses through the VPU L2 cache, therefore
the dma-ranges property sets the cache alias bits to other
than the direct alias, hence this WARN was firing.

It was overprotective coding, so assume that everything is OK
with the dma-ranges, and remove the WARN.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/platform/bcm2835/bcm2835-unicam.c