kernel-ark/drivers/media/usb/au0828
Dan Carpenter 8f2e452730 media: au0828: fix a NULL vs IS_ERR() check
The media_device_usb_allocate() function returns error pointers when
it's enabled and something goes wrong.  It can return NULL as well, but
only if CONFIG_MEDIA_CONTROLLER is disabled so that doesn't apply here.

Fixes: 812658d88d ("media: change au0828 to use Media Device Allocator API")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-06-02 13:30:28 +02:00
..
au0828-cards.c
au0828-cards.h
au0828-core.c
au0828-dvb.c
au0828-i2c.c
au0828-input.c
au0828-reg.h
au0828-vbi.c
au0828-video.c
au0828.h
Kconfig
Makefile