From: Devin Heitmueller Date: Tue, 7 Aug 2012 01:46:58 +0000 (-0300) Subject: [media] au0828: fix race condition that causes xc5000 to not bind for digital X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~540 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=549ee4df1951c8a1a123e81a073d73c2e1c26588;p=pandora-kernel.git [media] au0828: fix race condition that causes xc5000 to not bind for digital In some cases users would see the xc5000_attach() call failing for the digital side of the tuner on initialization. This is because of udev running v4l-id while the digital side of the board is still coming up. This is the exact same race condition which was present in em28xx (not surprising since I copied all the locking logic from that driver when I added analog support). Reproduce Mauro's fix from the em28xx driver in au0828. Reported-by: Rick Harding Signed-off-by: Devin Heitmueller Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed