V4L/DVB (11188): pvrusb2: Sub-device update must happen BEFORE state dirty bits are...
authorMike Isely <isely@pobox.com>
Sat, 7 Mar 2009 04:45:10 +0000 (01:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:37 +0000 (12:43 -0300)
commite68a619a1b216ed5398cbdf215a20d3411c988ea
tree1128b6ce699bc6835c2b69bd723c331098b5694c
parent0db8556805bdaed865329e55b9a1ad05f9cbd856
V4L/DVB (11188): pvrusb2: Sub-device update must happen BEFORE state dirty bits are cleared

The sub-device update mechanism relies on various "dirty" bits in the
driver in order to know what pieces of state need to be propagated out
to the various sub-devices.  But that won't work if the dirty bits are
cleared before the update gets a chance to run.  This change ensures
that the update takes place before the dirty bits are cleared.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pvrusb2/pvrusb2-hdw.c