Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d78cac4 authored by Steven Toth's avatar Steven Toth Committed by Mauro Carvalho Chehab
Browse files

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: default avatarSteven Toth <stoth@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 75b7f943
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));