]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/tda9875.c
V4L/DVB (10698): v4l2-common: remove v4l2_ctrl_query_fill_std
[linux-2.6-omap-h63xx.git] / drivers / media / video / tda9875.c
index 19fbd18f48823b29c3cb6b0f8a7be387b9600527..e71b2bd46612a763347a14d7bf0a654f1cd6e830 100644 (file)
@@ -313,9 +313,10 @@ static int tda9875_queryctrl(struct v4l2_subdev *sd, struct v4l2_queryctrl *qc)
 {
        switch (qc->id) {
        case V4L2_CID_AUDIO_VOLUME:
+               return v4l2_ctrl_query_fill(qc, 0, 65535, 65535 / 100, 58880);
        case V4L2_CID_AUDIO_BASS:
        case V4L2_CID_AUDIO_TREBLE:
-               return v4l2_ctrl_query_fill_std(qc);
+               return v4l2_ctrl_query_fill(qc, 0, 65535, 65535 / 100, 32768);
        }
        return -EINVAL;
 }