From: Takashi Iwai Subject: Re: [PATCH v2 1/2] ALSA: hda: fix the missing ptr initialization Date: Sun, 08 May 2016 11:43:56 +0200 Message-ID: References: <1462427683-3646-1-git-send-email-vinod.koul@intel.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 9F3D4260522 for ; Sun, 8 May 2016 11:43:57 +0200 (CEST) In-Reply-To: <1462427683-3646-1-git-send-email-vinod.koul@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Vinod Koul Cc: liam.r.girdwood@linux.intel.com, patches.audio@intel.com, alsa-devel@alsa-project.org, broonie@kernel.org, Jeeja KP List-Id: alsa-devel@alsa-project.org On Thu, 05 May 2016 07:54:42 +0200, Vinod Koul wrote: > > ebus is a member of extended device and was never initialized, so > do this at device creation. > > Signed-off-by: Jeeja KP > Signed-off-by: Vinod Koul Applied, thanks. Takashi > --- > sound/hda/ext/hdac_ext_bus.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/sound/hda/ext/hdac_ext_bus.c b/sound/hda/ext/hdac_ext_bus.c > index 2433f7c81472..64de0a3d6d93 100644 > --- a/sound/hda/ext/hdac_ext_bus.c > +++ b/sound/hda/ext/hdac_ext_bus.c > @@ -144,6 +144,7 @@ int snd_hdac_ext_bus_device_init(struct hdac_ext_bus *ebus, int addr) > if (!edev) > return -ENOMEM; > hdev = &edev->hdac; > + edev->ebus = ebus; > > snprintf(name, sizeof(name), "ehdaudio%dD%d", ebus->idx, addr); > > -- > 1.9.1 >