From patchwork Mon Feb 15 21:20:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 8319521 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 59717C02AA for ; Mon, 15 Feb 2016 21:20:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 90280203B4 for ; Mon, 15 Feb 2016 21:20:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BBBFD20392 for ; Mon, 15 Feb 2016 21:20:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751927AbcBOVUL (ORCPT ); Mon, 15 Feb 2016 16:20:11 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46997 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751595AbcBOVUK (ORCPT ); Mon, 15 Feb 2016 16:20:10 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 1690FC0C2351 for ; Mon, 15 Feb 2016 21:20:10 +0000 (UTC) Received: from shalem.localdomain.com (vpn1-5-7.ams2.redhat.com [10.36.5.7]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u1FLK5av027742; Mon, 15 Feb 2016 16:20:08 -0500 From: Hans de Goede To: Linux Media Mailing List Cc: Hans de Goede Subject: [PATCH xawtv3 2/3] mtt: Fix mtt not being able to tune tv channels Date: Mon, 15 Feb 2016 22:20:01 +0100 Message-Id: <1455571202-5189-2-git-send-email-hdegoede@redhat.com> In-Reply-To: <1455571202-5189-1-git-send-email-hdegoede@redhat.com> References: <1455571202-5189-1-git-send-email-hdegoede@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Teletext should use the tv tuner not the radio tuner... Signed-off-by: Hans de Goede --- x11/vbi-gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x11/vbi-gui.c b/x11/vbi-gui.c index f4b19da..429c8b2 100644 --- a/x11/vbi-gui.c +++ b/x11/vbi-gui.c @@ -917,7 +917,7 @@ static void vbi_station_cb(Widget widget, XtPointer client, XtPointer call) struct v4l2_frequency frequency; memset (&frequency, 0, sizeof(frequency)); - frequency.type = V4L2_TUNER_RADIO; + frequency.type = V4L2_TUNER_ANALOG_TV; frequency.frequency = channels[i]->freq; if (-1 == ioctl(vbi->fd, VIDIOC_S_FREQUENCY, &frequency)) perror("ioctl VIDIOCSFREQ");