media: atomisp: add -dDEBUG when building this driver
This driver still has lots of issues. Let's enable debug there inconditionally, as we need more information in order to address the pending issues. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
Родитель
9972311643
Коммит
88a4711e79
|
@ -5,6 +5,9 @@ obj-$(CONFIG_INTEL_ATOMISP) += i2c/
|
|||
obj-$(CONFIG_INTEL_ATOMISP) += platform/
|
||||
obj-$(CONFIG_VIDEO_ATOMISP) += atomisp.o
|
||||
|
||||
# While on staging, keep debug enabled
|
||||
DEFINES += -DDEBUG
|
||||
|
||||
atomisp = $(srctree)/drivers/staging/media/atomisp/
|
||||
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
|
|
@ -785,6 +785,7 @@ static int atomisp_open(struct file *file)
|
|||
asd->subdev.devnode = vdev;
|
||||
/* Deferred firmware loading case. */
|
||||
if (isp->css_env.isp_css_fw.bytes == 0) {
|
||||
dev_err(isp->dev, "Deferred firmware load.\n");
|
||||
isp->firmware = atomisp_load_firmware(isp);
|
||||
if (!isp->firmware) {
|
||||
dev_err(isp->dev, "Failed to load ISP firmware.\n");
|
||||
|
|
Загрузка…
Ссылка в новой задаче