From patchwork Mon Jul 1 13:42:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikolaus Voss X-Patchwork-Id: 11026035 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 37314138D for ; Mon, 1 Jul 2019 13:43:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27556283AD for ; Mon, 1 Jul 2019 13:43:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1AE8E28715; Mon, 1 Jul 2019 13:43:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 95F7F286D4 for ; Mon, 1 Jul 2019 13:43:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729149AbfGANnK (ORCPT ); Mon, 1 Jul 2019 09:43:10 -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-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-)