linux/drivers/media/dvb/dvb-core
Devin Heitmueller a5beb7b323 V4L/DVB (11875): dvb_frontend: fix case where fepriv->exit not reset
The fact that we now explicitly set fepriv->exit = 1 when the thread is
shutting down exposed an edge case where it was not being reset back to zero
once the thread went away in some cases.  This resulted in failures in cases
where the frontend was closed, and then opened O_RDONLY, since in that case
the thread is not being restarted but it was checking the fepriv->exit flag.

Thanks to Thierry Lelegard, who and encountered and debugged a large portion
of the issue in the same twelve hours that I did (as well as testing my patch).

Cc: Thierry Lelegard <thierry.lelegard@tv-numeric.com>
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-16 19:14:15 -03:00
..
Makefile
demux.h V4L/DVB (8131): dmx_write: memcpy from user-supplied pointer 2008-07-20 07:13:27 -03:00
dmxdev.c V4L/DVB (11841): core: fix potential mutex_unlock without mutex_lock in dvb_dvr_read 2009-06-16 18:21:10 -03:00
dmxdev.h
dvb_ca_en50221.c V4L/DVB (10391): dvb: constify VFTs 2009-03-30 12:42:34 -03:00
dvb_ca_en50221.h V4L/DVB (9054): implement proper locking in the dvb ca en50221 driver 2009-01-29 08:35:37 -02:00
dvb_demux.c V4L/DVB (11930): TS continuity check: show error message when discontinuity detected or TEI flag detected in header 2009-06-16 19:07:23 -03:00
dvb_demux.h V4L/DVB (11930): TS continuity check: show error message when discontinuity detected or TEI flag detected in header 2009-06-16 19:07:23 -03:00
dvb_filter.c
dvb_filter.h
dvb_frontend.c V4L/DVB (11875): dvb_frontend: fix case where fepriv->exit not reset 2009-06-16 19:14:15 -03:00
dvb_frontend.h V4L/DVB (9344): DVB-Core update 2008-12-29 17:53:12 -02:00
dvb_math.c
dvb_math.h
dvb_net.c V4L/DVB (10391): dvb: constify VFTs 2009-03-30 12:42:34 -03:00
dvb_net.h
dvb_ringbuffer.c V4L/DVB (8130): split dvb_ringbuffer dual-use functions 2008-07-20 07:13:23 -03:00
dvb_ringbuffer.h V4L/DVB (8130): split dvb_ringbuffer dual-use functions 2008-07-20 07:13:23 -03:00
dvbdev.c V4L/DVB (10391): dvb: constify VFTs 2009-03-30 12:42:34 -03:00
dvbdev.h V4L/DVB (10391): dvb: constify VFTs 2009-03-30 12:42:34 -03:00