Re: [PATCH v4 12/22] [media] em28xx: properly implement AC97 wait code

2014-01-07 Thread Frank Schäfer
Am 05.01.2014 16:44, schrieb Mauro Carvalho Chehab: > Em Sun, 05 Jan 2014 11:20:02 -0200 > Mauro Carvalho Chehab escreveu: > >> Em Sun, 05 Jan 2014 12:19:41 +0100 >> Frank Schäfer escreveu: >> >>> Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab: Instead of assuming that msleep() is precis

Re: [PATCH v4 12/22] [media] em28xx: properly implement AC97 wait code

2014-01-05 Thread Mauro Carvalho Chehab
Em Sun, 05 Jan 2014 11:20:02 -0200 Mauro Carvalho Chehab escreveu: > Em Sun, 05 Jan 2014 12:19:41 +0100 > Frank Schäfer escreveu: > > > Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab: > > > Instead of assuming that msleep() is precise, use a jiffies > > > based code to wait for AC97 to be a

Re: [PATCH v4 12/22] [media] em28xx: properly implement AC97 wait code

2014-01-05 Thread Mauro Carvalho Chehab
Em Sun, 05 Jan 2014 12:19:41 +0100 Frank Schäfer escreveu: > Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab: > > Instead of assuming that msleep() is precise, use a jiffies > > based code to wait for AC97 to be available. > > > > Signed-off-by: Mauro Carvalho Chehab > > --- > > drivers/medi

Re: [PATCH v4 12/22] [media] em28xx: properly implement AC97 wait code

2014-01-05 Thread Frank Schäfer
Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab: > Instead of assuming that msleep() is precise, use a jiffies > based code to wait for AC97 to be available. > > Signed-off-by: Mauro Carvalho Chehab > --- > drivers/media/usb/em28xx/em28xx-core.c | 7 +-- > drivers/media/usb/em28xx/em28xx.h

[PATCH v4 12/22] [media] em28xx: properly implement AC97 wait code

2014-01-04 Thread Mauro Carvalho Chehab
Instead of assuming that msleep() is precise, use a jiffies based code to wait for AC97 to be available. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/em28xx/em28xx-core.c | 7 +-- drivers/media/usb/em28xx/em28xx.h | 5 - 2 files changed, 9 insertions(+), 3 deletions(-)