aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/ccs/ccs-core.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-08-11 14:18:07 +0000
committerHans Verkuil <[email protected]>2025-08-18 07:55:04 +0000
commit6347dc7fb967521a77f9ff0774d25ef0cca4c6cd (patch)
treebd434084e2476e8c8f89cdb6b66fe5b237709394 /drivers/media/i2c/ccs/ccs-core.c
parentLinux 6.17-rc1 (diff)
downloadkernel-6347dc7fb967521a77f9ff0774d25ef0cca4c6cd.tar.gz
kernel-6347dc7fb967521a77f9ff0774d25ef0cca4c6cd.zip
media: rkvdec: Fix a NULL vs IS_ERR() bug in probe()
The iommu_paging_domain_alloc() function doesn't return NULL on error it returns error pointers. Update the check and then set ->empty_domain to NULL because the rest of the driver assumes it can be NULL. Fixes: ff8c5622f9f7 ("media: rkvdec: Restore iommu addresses on errors") Signed-off-by: Dan Carpenter <[email protected]> Tested-by: Detlev Casanova <[email protected]> Signed-off-by: Nicolas Dufresne <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/media/i2c/ccs/ccs-core.c')
0 files changed, 0 insertions, 0 deletions