From ccdbde202847b2638020a47742480efcaaec9ab0 Mon Sep 17 00:00:00 2001 From: Christian Hoffmann Date: Mon, 6 Feb 2023 21:58:43 +0100 Subject: [PATCH] Revert "media: dvb_frontend: get rid of set_property() callback" This partially reverts commit 43619b35587ebef4070f5f4d61761766e0e3136a as amlogic relies on it Change-Id: Ia72198b7d64ff1e54d5deedc08964d8cf9729efa --- drivers/media/dvb-core/dvb_frontend.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/media/dvb-core/dvb_frontend.h b/drivers/media/dvb-core/dvb_frontend.h index 6672c4a2e479..e274bddf7d39 100644 --- a/drivers/media/dvb-core/dvb_frontend.h +++ b/drivers/media/dvb-core/dvb_frontend.h @@ -405,8 +405,11 @@ struct dtv_frontend_properties; * @search: callback function used on some custom algo search algos. * @tuner_ops: pointer to struct dvb_tuner_ops * @analog_ops: pointer to struct analog_demod_ops + * @set_property: callback function to allow the frontend to validade + * incoming properties. Should not be used on new drivers. */ struct dvb_frontend_ops { + struct dvb_frontend_info info; u8 delsys[MAX_DELSYS]; @@ -464,6 +467,8 @@ struct dvb_frontend_ops { struct dvb_tuner_ops tuner_ops; struct analog_demod_ops analog_ops; + + int (*set_property)(struct dvb_frontend* fe, struct dtv_property* tvp); }; #ifdef __DVB_CORE__ -- 2.20.1