diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-01-09 08:44:27 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:04:45 -0500 |
commit | 006ed1ecf2c62659e5dd902350a7eb209b8a5257 (patch) | |
tree | bc9dc508e47742d4e609831879d256188abafc31 /drivers | |
parent | cf04d29c4868a783b3e994e4a19f78ce22ba2d93 (diff) |
V4L/DVB (6989): tda18271: clean up chip id logic in tda829x_release
This test is easier to read.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/tda8290.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/tda8290.c b/drivers/media/video/tda8290.c index 4ac7c0438896..3e593a3d9031 100644 --- a/drivers/media/video/tda8290.c +++ b/drivers/media/video/tda8290.c | |||
@@ -504,9 +504,9 @@ static void tda829x_release(struct dvb_frontend *fe) | |||
504 | { | 504 | { |
505 | struct tda8290_priv *priv = fe->analog_demod_priv; | 505 | struct tda8290_priv *priv = fe->analog_demod_priv; |
506 | 506 | ||
507 | /* dont try to release the tuner | 507 | /* only try to release the tuner if we've |
508 | * if we didn't attach it from this module */ | 508 | * attached it from within this module */ |
509 | if ((priv->ver > TDA8290) && (priv->ver > TDA8295)) | 509 | if (priv->ver & (TDA18271 | TDA8275 | TDA8275A)) |
510 | if (fe->ops.tuner_ops.release) | 510 | if (fe->ops.tuner_ops.release) |
511 | fe->ops.tuner_ops.release(fe); | 511 | fe->ops.tuner_ops.release(fe); |
512 | 512 | ||