]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx: properly implement AC97 wait code
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 27 Dec 2013 03:28:57 +0000 (00:28 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 10 Jan 2014 08:06:20 +0000 (06:06 -0200)
commitdaa0885303984b55fe736c81880d44399116efa0
tree82c9f3366c55aee1bd5e29b88c84d2132489199e
parentecf5d60493fc9cdad0abbdeabef197f192e2184f
[media] em28xx: properly implement AC97 wait code

Instead of assuming that msleep() is precise, use a jiffies
based code to wait for AC97 to be available.

Reviewed-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-core.c
drivers/media/usb/em28xx/em28xx.h