diff options
| author | Chen Ni <nichen@iscas.ac.cn> | 2026-05-22 04:57:34 +0300 |
|---|---|---|
| committer | Sakari Ailus <sakari.ailus@linux.intel.com> | 2026-05-28 21:25:38 +0300 |
| commit | f368ded872292b01d29d6f1e4a98746f3432c991 (patch) | |
| tree | 66f8e3c992e569afd119f137d301c9a2a4b39f42 /include/linux | |
| parent | 6767653b4e633d0ceaaaa734a4692306a9970573 (diff) | |
| download | linux-f368ded872292b01d29d6f1e4a98746f3432c991.tar.xz | |
media: ti: j721e-csi2rx: Fix error handling for media_entity_remote_source_pad_unique()
The media_entity_remote_source_pad_unique() function returns an error
pointer on failure, not NULL. Fix the check to use IS_ERR() and return
PTR_ERR() to correctly handle allocation failures.
Fixes: 982135c0eac6 ("media: ti: j721e-csi2rx: add a subdev for the core device")
Fixes: 3ed9c0a1fdba ("media: ti: j721e-csi2rx: add multistream support")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
