Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5995197pxb; Mon, 14 Feb 2022 12:40:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJyU6e4YGyAelquvwehDlGvHFNuhJNh+6SEeZLfGL20vLQ0SMd2rGo6aUhSsbgpakQaahW2t X-Received: by 2002:a17:902:f606:: with SMTP id n6mr589995plg.32.1644871213864; Mon, 14 Feb 2022 12:40:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644871213; cv=none; d=google.com; s=arc-20160816; b=sYm0atMenvbkAeU6ptx8o3uBf7svuMs9/6ZR0X2CgsQYLkuztuvNBNBcDAywGIwnrG zdNhtUFKbl1V5lCA5mHSecph4NOG9qUUoMUOucwft/jPII5iAKAop0/xLd52c1w4LeEa Ek5wZfAGq0USYC18dOTbaWCALRLwKHg3EhpS3RlW9vO5drwIgNekfRhx00mm6VnBLpbg 5+0sta0d63gU0FC5q6AJ0AGcR9fsvWOc0568JNeDWCKcdzUSac4VG0zVjFJ/zqhUTzw7 eM2NC4iYdNPsilXLaFw0S8tGm1Pt8DeKBCCf+TDJTzDxdBNQQyt9/EiYnIVYa3MXBmLs 1p9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=TMdg7WmNuoot99++XQQOkIms9eMk0gMeykz35bz2Z1A=; b=yuX8g3dFFbnvUasVZmIJIft4+duC7WBeVF9piiybgO2Cn59VVIotwGAOIXt4Zl5fJ1 Vp1N2YTAWL4oaGg+1hRWyL4+NGjOA4Gxuv43XZZyNUddFFgGgBfEGes1M/ZUXNqNmqTO KV/WGrl3Kv+P0qVLdOOWAGrg1JxYkvQkbLuiGV1R/7r6omhNusNg4S1LZvKVdQ7Z7lfq 0FsSbVx+bNDZQXQjsM9lrZyW1pP2FzRtAaFGT659S1OnJZI1eph93k9yfKkCYgGOOIni yJ0EaG6jEztlQHJW93MZ1M5BVRtK5ybtoW9s8EQBAA/tgDaaFw1uxljjkzzDOSqdN70H ObZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mwTf85Kt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h5si33883154pfi.198.2022.02.14.12.40.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 12:40:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mwTf85Kt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D2981156976; Mon, 14 Feb 2022 12:08:31 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243117AbiBNJ3C (ORCPT + 99 others); Mon, 14 Feb 2022 04:29:02 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:42090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243037AbiBNJ2u (ORCPT ); Mon, 14 Feb 2022 04:28:50 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93DD760D8E; Mon, 14 Feb 2022 01:28:41 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3154260F6F; Mon, 14 Feb 2022 09:28:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 15234C340E9; Mon, 14 Feb 2022 09:28:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1644830920; bh=4uuCJjkSrfPwVS+0znzdwJlAn7nz7c2ExeWvq/SGEMs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mwTf85Kt0sTJ1xqhXrc1RSnI3J5W9auYwjKc54oDca7wA6gpiQsoRx6kzfPi7Sb8I U9ftMbh8kX2Xs7kVPUxNO4tGfDBHsQpSgsXv60i3YiqqlE8DtMJIsWhXXEUAOVybgj Mb+V8G1T4tSwHNDQRtSCKRmfuJGwcJqO/bKECp3Y= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Guillaume Bertholon Subject: [PATCH 4.9 07/34] ALSA: line6: Fix misplaced backport of "Fix wrong altsetting for LINE6_PODHD500_1" Date: Mon, 14 Feb 2022 10:25:33 +0100 Message-Id: <20220214092446.188220247@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220214092445.946718557@linuxfoundation.org> References: <20220214092445.946718557@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Guillaume Bertholon The upstream commit 70256b42caaf ("ALSA: line6: Fix wrong altsetting for LINE6_PODHD500_1") changed the .altsetting field of the LINE6_PODHD500_1 entry in podhd_properties_table from 1 to 0. However, its backported version in stable (commit ec565611f930 ("ALSA: line6: Fix wrong altsetting for LINE6_PODHD500_1")) change the .altsetting field of the LINE6_PODHD500_0 entry instead. This patch resets the altsetting of LINE6_PODHD500_0 to 1, and sets the altsetting of LINE6_PODHD500_1 to 0, as wanted by the original fix. Fixes: ec565611f930 ("ALSA: line6: Fix wrong altsetting for LINE6_PODHD500_1") Signed-off-by: Guillaume Bertholon Signed-off-by: Greg Kroah-Hartman --- sound/usb/line6/podhd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/sound/usb/line6/podhd.c +++ b/sound/usb/line6/podhd.c @@ -385,7 +385,7 @@ static const struct line6_properties pod .name = "POD HD500", .capabilities = LINE6_CAP_PCM | LINE6_CAP_HWMON, - .altsetting = 0, + .altsetting = 1, .ep_ctrl_r = 0x81, .ep_ctrl_w = 0x01, .ep_audio_r = 0x86, @@ -396,7 +396,7 @@ static const struct line6_properties pod .name = "POD HD500", .capabilities = LINE6_CAP_PCM | LINE6_CAP_HWMON, - .altsetting = 1, + .altsetting = 0, .ep_ctrl_r = 0x81, .ep_ctrl_w = 0x01, .ep_audio_r = 0x86,