On Thu, 11 Jan 2024 17:19:51 +0100, Ahmad Fatoum wrote:
> dev may be NULL, e.g. when
>
> dma_sync_single_for_cpu(NULL,
>
> is called. Such instances are broken anyway, but we still have them,
> e.g. in Raspberry Pi code for mailbox, so add a NULL check.
>
> [...]
Applied, thanks!
[1/1]
dev may be NULL, e.g. when
dma_sync_single_for_cpu(NULL,
is called. Such instances are broken anyway, but we still have them,
e.g. in Raspberry Pi code for mailbox, so add a NULL check.
Fixes qemu-rpi0@multi_v7 CI breakage on next.
Signed-off-by: Ahmad Fatoum
---
include/driver.h | 16