OSDN Git Service

media: atomisp: move a debug printf to a better place
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 4 Nov 2021 11:20:37 +0000 (11:20 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 15 Nov 2021 08:11:45 +0000 (08:11 +0000)
commit9a542497cc887d2278689ee576c57c34072080f0
treee47c8e535770051ed3400127fcc42fcd2198fb32
parent7474731541118aa32eaff38f4fb669f4a5208d22
media: atomisp: move a debug printf to a better place

The sensor width/height report is alread being printed after
its calculus. The only reason for an extra debug printk is
when dis is used. So, change its message to reflect and move
it to be inside the if checks.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_cmd.c