V4L/DVB (9008): S2API: Bugfix related to syncing the cache when used with the old API.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, October 13, 2008 - 3:14 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1d78ca...
Commit:     1d78cac4779be3ae6bef4791b3b12928e2499fef
Parent:     75b7f9437b1cf63750bb58efaaeb6d72d04b3c7f
Author:     Steven Toth <stoth@linuxtv.org>
AuthorDate: Sat Sep 13 18:15:17 2008 -0300
Committer:  Mauro Carvalho Chehab <mchehab@redhat.com>
CommitDate: Sun Oct 12 09:37:05 2008 -0200

    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>
---
 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 7dffb48..05d0b73 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,
 				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));
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
V4L/DVB (9008): S2API: Bugfix related to syncing the cache ..., Linux Kernel Mailing ..., (Mon Oct 13, 3:14 pm)