Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
kthread_stop(dev->kthread);
dev->kthread = NULL;
}
- saa7164_api_set_debug(dev, 0x00);
+ if (dev->firmwareloaded)
+ saa7164_api_set_debug(dev, 0x00);
}
saa7164_histogram_print(&dev->ports[ SAA7164_PORT_ENC1 ],
}
}
+ dev->firmwareloaded = 1;
ret = 0;
out:
/* firmware status */
struct saa7164_fw_status fw_status;
+ u32 firmwareloaded;
tmComResHWDescr_t hwdesc;
tmComResInterfaceDescr_t intfdesc;