diff options
| author | Dan Carpenter <[email protected]> | 2024-05-08 12:31:00 +0000 |
|---|---|---|
| committer | Laurent Pinchart <[email protected]> | 2024-05-09 22:08:09 +0000 |
| commit | b6041c9e9f2d85514358ed478c53dfabd4015e3b (patch) | |
| tree | 00553847bc5a1abed5277270fbc8e0d5a9d8e302 /rust/helpers.c | |
| parent | media: bcm2835-unicam: Do not print error when irq not found (diff) | |
| download | kernel-b6041c9e9f2d85514358ed478c53dfabd4015e3b.tar.gz kernel-b6041c9e9f2d85514358ed478c53dfabd4015e3b.zip | |
media: bcm2835-unicam: Fix a NULL vs IS_ERR() check
The media_pad_remote_pad_unique() function returns error pointers, not
NULL. Update the check accordingly.
Fixes: 392cd78d495f ("media: bcm2835-unicam: Add support for CCP2/CSI2 camera interface")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
