From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030584Ab2HIOeo (ORCPT ); Thu, 9 Aug 2012 10:34:44 -0400 Received: from cantor2.suse.de ([195.135.220.15]:33521 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030423Ab2HIOen (ORCPT ); Thu, 9 Aug 2012 10:34:43 -0400 Date: Thu, 09 Aug 2012 16:34:42 +0200 Message-ID: From: Takashi Iwai To: Thierry Reding Cc: David Henningsson , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2 v3] ALSA: hda - Deferred probing with request_firmware_nowait() In-Reply-To: <20120809142536.GA1771@avionic-0098.mockup.avionic-design.de> References: <20120809103430.GA1560@avionic-0098.mockup.avionic-design.de> <5023BAA0.1080304@canonical.com> <5023C0FC.2030207@canonical.com> <20120809142536.GA1771@avionic-0098.mockup.avionic-design.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.1 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Thu, 9 Aug 2012 16:25:36 +0200, Thierry Reding wrote: > > On Thu, Aug 09, 2012 at 04:10:55PM +0200, Takashi Iwai wrote: > > For processing the firmware handling properly for built-in kernels, > > implement an asynchronous firmware loading with > > request_firmware_nowait(). This means that the codec probing is > > deferred when the patch option is specified. > > > > Signed-off-by: Takashi Iwai > > --- > > v1->v2: drop superfluous chip->probe_deferred field > > v2->v3: fix missing chip->fw; renamed the variable to "probe_now" > > > > sound/pci/hda/hda_codec.c | 2 +- > > sound/pci/hda/hda_intel.c | 42 ++++++++++++++++++++++++++++++++++++++---- > > 2 files changed, 39 insertions(+), 5 deletions(-) > > Tested-by: Thierry Reding Thanks, now pushed to sound git tree for-next branch. As mentioned earlier, this is planned for 3.7 merge. Also, the patches are found in topic/hda-probe-defer branch so that it can be easily pulled to 3.6 kernel cleanly. Takashi From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH 2/2 v3] ALSA: hda - Deferred probing with request_firmware_nowait() Date: Thu, 09 Aug 2012 16:34:42 +0200 Message-ID: References: <20120809103430.GA1560@avionic-0098.mockup.avionic-design.de> <5023BAA0.1080304@canonical.com> <5023C0FC.2030207@canonical.com> <20120809142536.GA1771@avionic-0098.mockup.avionic-design.de> 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 (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 85CBF266393 for ; Thu, 9 Aug 2012 16:04:59 +0200 (CEST) In-Reply-To: <20120809142536.GA1771@avionic-0098.mockup.avionic-design.de> 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: Thierry Reding Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, David Henningsson List-Id: alsa-devel@alsa-project.org At Thu, 9 Aug 2012 16:25:36 +0200, Thierry Reding wrote: > > On Thu, Aug 09, 2012 at 04:10:55PM +0200, Takashi Iwai wrote: > > For processing the firmware handling properly for built-in kernels, > > implement an asynchronous firmware loading with > > request_firmware_nowait(). This means that the codec probing is > > deferred when the patch option is specified. > > > > Signed-off-by: Takashi Iwai > > --- > > v1->v2: drop superfluous chip->probe_deferred field > > v2->v3: fix missing chip->fw; renamed the variable to "probe_now" > > > > sound/pci/hda/hda_codec.c | 2 +- > > sound/pci/hda/hda_intel.c | 42 ++++++++++++++++++++++++++++++++++++++---- > > 2 files changed, 39 insertions(+), 5 deletions(-) > > Tested-by: Thierry Reding Thanks, now pushed to sound git tree for-next branch. As mentioned earlier, this is planned for 3.7 merge. Also, the patches are found in topic/hda-probe-defer branch so that it can be easily pulled to 3.6 kernel cleanly. Takashi