]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: platform: rga: fix 32-bit DMA limitation
authorJohn Keeping <jkeeping@inmusicbrands.com>
Mon, 12 Aug 2024 14:35:55 +0000 (15:35 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 12 Oct 2024 14:28:24 +0000 (16:28 +0200)
commit953c03d8cb41d08fe6994f5d94c4393ac9da2f13
treea5a264ab9d1edf886595b163ca093092feb7dcd0
parent93ee2d7ce2660a60d7e3d2706f53c31c5fb052e9
media: platform: rga: fix 32-bit DMA limitation

The destination buffer flags are assigned twice but source is not set in
what looks like a copy+paste mistake.  Assign the source queue flags so
the 32-bit DMA limitation is handled consistently.

Fixes: ec9ef8dda2a2 ("media: rockchip: rga: set dma mask to 32 bits")
Cc: <stable@vger.kernel.org>
Signed-off-by: John Keeping <jkeeping@inmusicbrands.com>
Reviewed-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/rockchip/rga/rga.c