[PATCH 0/2] media protect enable and disable source handler paths

From: Shuah Khan
Date: Mon Nov 28 2016 - 21:15:33 EST


These two patches fix enable and disable source handler paths. These
aren't dependent patches, grouped because they fix similar problems.

This work is triggered by a review comment from Mauro Chehab on a
snd_usb_audio patch about protecting the enable and disabel handler
path in it.

Ran tests to make sure enable and disable handler paths work. When
digital stream is active, analog app finds the tuner busy and vice
versa. Also ran the Sakari's unbind while video stream is active test.

Shuah Khan (2):
media: au0828 fix to protect enable/disable source set and clear
media: protect enable and disable source handler checks and calls

drivers/media/dvb-core/dvb_frontend.c | 24 ++++++++++++++++++------
drivers/media/usb/au0828/au0828-core.c | 21 +++++++++------------
drivers/media/v4l2-core/v4l2-mc.c | 26 ++++++++++++++++++--------
3 files changed, 45 insertions(+), 26 deletions(-)

--
2.7.4