Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2226973ybi; Mon, 1 Jul 2019 08:20:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmYZYFYtKT/MrYA8e1YhCp8bN7bUzFrpp+9jb06x47rt8jhvY8+loMuVg/CxL+ydDgmSPy X-Received: by 2002:a17:90a:5207:: with SMTP id v7mr8906262pjh.127.1561994422416; Mon, 01 Jul 2019 08:20:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561994422; cv=none; d=google.com; s=arc-20160816; b=Lt6ZS4ElAnXZzwDbJJ5S7nlSF+7J/6HYNuEgZVSlNdPdaZPj91yjNBHRqul0vQdxqm 2OPxJlibG8YpimwJcxujW5E+delpRHDQZJlqbEnLGJl5d3+Sg74zEZsZHjxYo8uYXl7w g0taEInMwOgiu+zz+9nI71F+GEAJfcNVdyGESZjW2b4BvLyy2zH9KxGf0GzImM+iEg75 Nq0owk7XMca8c7qVcScbgRYkthWNEJifJ/kQrEFGKPvK2xz1d3mP5lSLAd2vr9AZq6XW IbzTz8o+EpVmKnCTZVOckbtebTFQH+GVmovrrYVcBVSMdAa9Wnuz2mleKAyDsE3ChlLu xT6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=Q9CCSPu1pZ6IjkZa2Qh2D4JC/AcimmoLP3CnSomszbU=; b=fjwZ3w2/M6UFKODTNQUKYrTjXxM4+MqmT0T09LJHAkK0KslpEUimKzbMn2a9R5SdpK L1FC6WscIiTtSyu3Wf5bNrvrbq/v4nSv3a7SGVQY/iGxuFOCmjQkIDGY0XyHsDXxQFvl XAQZuLO+CU6Vcdr+6tHhtSv2QSXIgZvsZNeJTR0sqIzT9IxVj/VieX17CUm9zb00bqve XDvNyXtOZt74CXBgPZUFrhWKmvH+9OfArWi5pBte3SvV0RsmQK57NQTp+VNgkH+fn0GA +Ro2RvuUJDgCzDBGUyaTs528NQwJLle1vGV5Y/Qkphyd7vZx3MpXkfiNW01/Fvp4OvII rzlQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j190si9972062pge.92.2019.07.01.08.20.06; Mon, 01 Jul 2019 08:20:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729157AbfGANnL (ORCPT + 99 others); Mon, 1 Jul 2019 09:43:11 -0400 Received: from mail.steuer-voss.de ([85.183.69.95]:52960 "EHLO mail.steuer-voss.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727268AbfGANnK (ORCPT ); Mon, 1 Jul 2019 09:43:10 -0400 X-Virus-Scanned: Debian amavisd-new at mail.steuer-voss.de Received: from pc-niv.weinmann.com (localhost [127.0.0.1]) by mail.steuer-voss.de (Postfix) with ESMTP id 309B24D08B; Mon, 1 Jul 2019 15:43:07 +0200 (CEST) From: Nikolaus Voss To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Andreas Dannenberg , "Andrew F. Davis" , Kate Stewart Cc: Nikolaus Voss , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, nv@vosn.de Subject: [PATCH v2 0/2] ASoC: tas5720.c: add ACPI enumeration support Date: Mon, 1 Jul 2019 15:42:50 +0200 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190628143037.GH5379@sirena.org.uk> References: <20190628143037.GH5379@sirena.org.uk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Patch 1 aggregates variant specific stuff in a struct which is directly referenced in the id tables (no functional change). Patch 2 actually adds ACPI IDs for the two DAC variants and uses the device match API to get the variant in a firmware agnostic manner. v2: - split patch into series as suggested by Mark Brown and Andrew F. Davis. - don't integrate variant data into variant struct but reference it (suggested by Andrew F. Davis). Nikolaus Voss (2): ASoC: tas5720.c: cleanup variant management ASoC: tas5720.c: add ACPI enumeration support sound/soc/codecs/tas5720.c | 111 +++++++++++++++---------------------- 1 file changed, 46 insertions(+), 65 deletions(-) -- 2.17.1