+50
−23
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The driver started a kthread to poll the DMA buffers soon after probing, which relsuleted in 1000/sec sleeps and wakeups of the thread doing nothing useful until someone started feeding. This patch changes the creation and destruction of the kthread depending on the number of users. Signed-off-by:Akihiro Tsukada <tskd2@yahoo.co.jp> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>