Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759514Ab3GZS0H (ORCPT ); Fri, 26 Jul 2013 14:26:07 -0400 Received: from mail-yh0-f48.google.com ([209.85.213.48]:59422 "EHLO mail-yh0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752035Ab3GZS0F (ORCPT ); Fri, 26 Jul 2013 14:26:05 -0400 From: "Felipe F. Tonello" To: alsa-devel@alsa-project.org Cc: linux-kernel@vger.kernel.org, Takashi Iwai , Mark Brown , David Henningsson , Wang Xingchao , Jaroslav Kysela , "Felipe F. Tonello" Subject: [PATCH 4/4] ALSA: oxygen: Updating jack implementation according new ALSA Jacks Date: Fri, 26 Jul 2013 11:25:33 -0700 Message-Id: <1374863133-6745-5-git-send-email-eu@felipetonello.com> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1374863133-6745-1-git-send-email-eu@felipetonello.com> References: <1374863133-6745-1-git-send-email-eu@felipetonello.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1107 Lines: 32 From: "Felipe F. Tonello" ALSA standard jacks already are implemented using ALSA KControl. So there is no need implement that itself or to use snd_jack for input events only. Signed-off-by: Felipe F. Tonello --- sound/pci/oxygen/xonar_wm87x6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/oxygen/xonar_wm87x6.c b/sound/pci/oxygen/xonar_wm87x6.c index 6ce6860..d3816b1 100644 --- a/sound/pci/oxygen/xonar_wm87x6.c +++ b/sound/pci/oxygen/xonar_wm87x6.c @@ -286,7 +286,7 @@ static void xonar_ds_init(struct oxygen *chip) xonar_enable_output(chip); snd_jack_new(chip->card, "Headphone", - SND_JACK_HEADPHONE, &data->hp_jack); + SND_JACK_HEADPHONE, 0, &data->hp_jack); xonar_ds_handle_hp_jack(chip); snd_component_add(chip->card, "WM8776"); -- 1.8.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/