diff options
author | Steven Toth <stoth@linuxtv.org> | 2008-09-13 17:15:17 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:37:05 -0400 |
commit | 1d78cac4779be3ae6bef4791b3b12928e2499fef (patch) | |
tree | bab16b502fd5bbe2fc8be5b71b47d0e6a29cd377 | |
parent | 75b7f9437b1cf63750bb58efaaeb6d72d04b3c7f (diff) |
V4L/DVB (9008): S2API: Bugfix related to syncing the cache when used with the old API.
Many thanks to Darron Broad for pointing out the obvious.
Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/dvb/dvb-core/dvb_frontend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c index 7dffb48e55e5..05d0b73cf9a3 100644 --- a/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb/dvb-core/dvb_frontend.c | |||
@@ -1595,9 +1595,9 @@ static int dvb_frontend_ioctl_legacy(struct inode *inode, struct file *file, | |||
1595 | break; | 1595 | break; |
1596 | } | 1596 | } |
1597 | 1597 | ||
1598 | dtv_property_cache_sync(fe, &fepriv->parameters); | ||
1599 | memcpy (&fepriv->parameters, parg, | 1598 | memcpy (&fepriv->parameters, parg, |
1600 | sizeof (struct dvb_frontend_parameters)); | 1599 | sizeof (struct dvb_frontend_parameters)); |
1600 | dtv_property_cache_sync(fe, &fepriv->parameters); | ||
1601 | } | 1601 | } |
1602 | 1602 | ||
1603 | memset(&fetunesettings, 0, sizeof(struct dvb_frontend_tune_settings)); | 1603 | memset(&fetunesettings, 0, sizeof(struct dvb_frontend_tune_settings)); |