diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2011-06-11 09:28:59 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:53:07 -0400 |
commit | 6a529c1a4a87e0f5d143ad3bc0d37179332f210e (patch) | |
tree | 50b293832428289f8d8bcea7effabaee3be0b6d6 /include/sound | |
parent | 9cd49719fda38613e9d7c712b11a54ea4ea005dc (diff) |
[media] tea575x: allow multiple opens
Change locking to allow tea575x-radio device to be opened multiple times.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/tea575x-tuner.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/tea575x-tuner.h b/include/sound/tea575x-tuner.h index 5aa8186e7820..726e94742a5c 100644 --- a/include/sound/tea575x-tuner.h +++ b/include/sound/tea575x-tuner.h | |||
@@ -49,7 +49,7 @@ struct snd_tea575x { | |||
49 | bool tuned; /* tuned to a station */ | 49 | bool tuned; /* tuned to a station */ |
50 | unsigned int val; /* hw value */ | 50 | unsigned int val; /* hw value */ |
51 | unsigned long freq; /* frequency */ | 51 | unsigned long freq; /* frequency */ |
52 | unsigned long in_use; /* set if the device is in use */ | 52 | struct mutex mutex; |
53 | struct snd_tea575x_ops *ops; | 53 | struct snd_tea575x_ops *ops; |
54 | void *private_data; | 54 | void *private_data; |
55 | u8 card[32]; | 55 | u8 card[32]; |