]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart
authorRon Economos <w6rz@comcast.net>
Tue, 12 Dec 2017 00:51:53 +0000 (19:51 -0500)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Mon, 26 Mar 2018 12:16:21 +0000 (09:16 -0300)
commit459d117614d269c73571f334645029904be745d5
tree5454c7e4d94910c80834367a971ebb8e4b7147a3
parent0d6d8c76950bd64980defc3b3a935e7c4c44b185
media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart

BugLink: http://bugs.launchpad.net/bugs/1758886
[ Upstream commit 380a6c86457573aa42d27ae11e025eb25941a0b7 ]

On faster CPUs a delay is required after the resume command and the restart command. Without the delay, the restart command often returns -EREMOTEIO and the Si2168 does not restart.

Note that this patch fixes the same issue as https://patchwork.linuxtv.org/patch/44304/, but I believe my udelay() fix addresses the actual problem.

Signed-off-by: Ron Economos <w6rz@comcast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/media/dvb-frontends/si2168.c