]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (9008): S2API: Bugfix related to syncing the cache when used with the old...
authorSteven Toth <stoth@linuxtv.org>
Sat, 13 Sep 2008 21:15:17 +0000 (18:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:37:05 +0000 (09:37 -0200)
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>
drivers/media/dvb/dvb-core/dvb_frontend.c

index 7dffb48e55e5488e7b45d49a1e31e09e78557333..05d0b73cf9a3de0b8684202b154a722e814beaea 100644 (file)
@@ -1595,9 +1595,9 @@ static int dvb_frontend_ioctl_legacy(struct inode *inode, struct file *file,
                                break;
                        }
 
-                       dtv_property_cache_sync(fe, &fepriv->parameters);
                        memcpy (&fepriv->parameters, parg,
                                sizeof (struct dvb_frontend_parameters));
+                       dtv_property_cache_sync(fe, &fepriv->parameters);
                }
 
                memset(&fetunesettings, 0, sizeof(struct dvb_frontend_tune_settings));