From patchwork Mon Dec 7 12:34:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 57796 Delivered-To: patch@linaro.org Received: by 10.112.147.194 with SMTP id tm2csp1119787lbb; Mon, 7 Dec 2015 04:34:34 -0800 (PST) X-Received: by 10.98.72.214 with SMTP id q83mr42330611pfi.116.1449491673893; Mon, 07 Dec 2015 04:34:33 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bx1si1890346pab.57.2015.12.07.04.34.33; Mon, 07 Dec 2015 04:34:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-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-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754934AbbLGMed (ORCPT + 4 others); Mon, 7 Dec 2015 07:34:33 -0500 Received: from mail-lb0-f172.google.com ([209.85.217.172]:33891 "EHLO mail-lb0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754455AbbLGMec (ORCPT ); Mon, 7 Dec 2015 07:34:32 -0500 Received: by lbbcs9 with SMTP id cs9so60425116lbb.1 for ; Mon, 07 Dec 2015 04:34:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=csl5FBkUAludRKyY6g54rmQZyp1pGnGeDS0Vq4U+01I=; b=RBA7NNZ1IFNBEnO2n0/GV3gsGdRWR0A7FySBFM4f81Sdfa61wZZ3lD4jVupWquB2h1 m8Lg0ZD+0RF8pZRBvCFCFVBiSuYCl9bMxsmXzWxMeO1ipwhEFinblpOEXUxsFJL7edNy oa2p/bwN+rmGq68B1JX6fgSkKLjC0UcZ/WReKNR1aYlEsyWLKDwOvctA3HfxbFr6Cp0D DMiWHXC0q7i0zqmd+2S/DzUtGMC8T68B/mc2aYfH+2+cAgmtnlHmNoKw65druBkKXBXi ZSaRBoK1kak40XLl4LF3sj4MmnLkHcw7ImqWbdTrJxA4PJq5Oof66BJyPT12XZwAtmDR GG3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=csl5FBkUAludRKyY6g54rmQZyp1pGnGeDS0Vq4U+01I=; b=ecZVTowNXpr83jESvT93fzJdaTM8e7Pxzx+RT+Olg2EtGinDpkQ6qWGvHZ03tbC5PQ jk6ujH3zXw+SmKFVoGlZteV1dUKggSNPcg+JHi8OYOTkJAHdS22GyRdo+ON0e7kVzmH9 cX0lzSyJLxOywkGDi83r33zpqxmTlc+gov5hMQfp5TX2pngPZQyiX00fl6uTUsLZY2Ys x/phRGiXhPm0QcuJUIT4aoltmDuOhaj+WXfR22b02jLs87sLNfL7SoMj45JV7qr3Uajm tG5UcmRcQKzGVuz3RM8qZSfESXAdBQcLdyYFwgXsaFZTjj5a9gO/fZFvEtssRd/2B8Wh EYRA== X-Gm-Message-State: ALoCoQlKdDbYrAHkhrisXMkw+hCJYD9hHy4A2oNfKMw6RkeGjbGPBDr1EABcR3DPrGkEp4Y1hpsy MIME-Version: 1.0 X-Received: by 10.25.137.84 with SMTP id l81mr13603276lfd.45.1449491671096; Mon, 07 Dec 2015 04:34:31 -0800 (PST) Received: by 10.25.76.9 with HTTP; Mon, 7 Dec 2015 04:34:31 -0800 (PST) In-Reply-To: <20151203001214.GP1929@sirena.org.uk> References: <20151203001214.GP1929@sirena.org.uk> Date: Mon, 7 Dec 2015 13:34:31 +0100 Message-ID: Subject: Re: [GIT PULL] AC'97 gpiochip From: Linus Walleij To: Mark Brown Cc: "alsa-devel@alsa-project.org" , Liam Girdwood , "linux-gpio@vger.kernel.org" Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Thu, Dec 3, 2015 at 1:12 AM, Mark Brown wrote: > The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec: > > Linux 4.4-rc1 (2015-11-15 17:00:27 -0800) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git tags/asoc-ac97-gpio > > for you to fetch changes up to 9bf5c3d11f1fbaf43399d189f05fb20ceb46ee5d: > > ASoC: ac97: add gpio chip (2015-11-18 18:08:54 +0000) > > ---------------------------------------------------------------- > ASoC: Add a GPIO chip for AC'97 Pulled to the GPIO devel branch, then I immediately applied this on top: >From a1eb9d5751220433998ae2e66216288161b1355b Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Mon, 7 Dec 2015 13:32:28 +0100 Subject: [PATCH] ASoC: ac97: fix parent assignment Upstream GPIO has substituted .dev for .parent in struct gpio_chip. Signed-off-by: Linus Walleij --- sound/soc/soc-ac97.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.4.3 Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/sound/soc/soc-ac97.c b/sound/soc/soc-ac97.c index ae563e379a72..a2012652f212 100644 --- a/sound/soc/soc-ac97.c +++ b/sound/soc/soc-ac97.c @@ -142,7 +142,7 @@ static int snd_soc_ac97_init_gpio(struct snd_ac97 *ac97, gpio_priv->codec = codec; gpio_priv->gpio_chip = snd_soc_ac97_gpio_chip; gpio_priv->gpio_chip.ngpio = AC97_NUM_GPIOS; - gpio_priv->gpio_chip.dev = codec->dev; + gpio_priv->gpio_chip.parent = codec->dev; gpio_priv->gpio_chip.base = -1; ret = gpiochip_add(&gpio_priv->gpio_chip);