diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-01-06 15:31:35 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 19:04:43 -0200 |
commit | 8d316bf54b2a1965f9460d0ad9d80850d2c7afb3 (patch) | |
tree | 9ab21bf8093edc7f410870da484547332d290069 /drivers/media/dvb/frontends/tda18271-priv.h | |
parent | ccbac9bb174db457181f5f58fecf9cbc3020ea1d (diff) | |
download | lwn-8d316bf54b2a1965f9460d0ad9d80850d2c7afb3.tar.gz lwn-8d316bf54b2a1965f9460d0ad9d80850d2c7afb3.zip |
V4L/DVB (6979): tda18271: use a mutex to protect state in critical sections
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda18271-priv.h')
-rw-r--r-- | drivers/media/dvb/frontends/tda18271-priv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-priv.h b/drivers/media/dvb/frontends/tda18271-priv.h index b4d1ab770ca2..af89cfab0066 100644 --- a/drivers/media/dvb/frontends/tda18271-priv.h +++ b/drivers/media/dvb/frontends/tda18271-priv.h @@ -23,6 +23,7 @@ #include <linux/kernel.h> #include <linux/types.h> +#include <linux/mutex.h> #include "tda18271.h" #define R_ID 0x00 /* ID byte */ @@ -112,6 +113,8 @@ struct tda18271_priv { struct tda18271_std_map std; struct tda18271_rf_tracking_filter_cal rf_cal_state[8]; + struct mutex lock; + u32 frequency; u32 bandwidth; }; |