Commit 6b3a422b authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: atomisp: get rid of some old broken debug code



It sounds that someone once changed the debug level at compile
time for some testing, but forgot to remove the legacy code after
finishing debuging it.

Get rid of the dead code.

Acked-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 2a693c3e
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1503,11 +1503,8 @@ void atomisp_wdt_work(struct work_struct *work)
	}

	if (css_recover) {
		unsigned int old_dbglevel = dbg_level;

		atomisp_css_debug_dump_sp_sw_debug_info();
		atomisp_css_debug_dump_debug_info(__func__);
		dbg_level = old_dbglevel;
		for (i = 0; i < isp->num_of_streams; i++) {
			struct atomisp_sub_device *asd = &isp->asd[i];