Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756540AbbHZJAp (ORCPT ); Wed, 26 Aug 2015 05:00:45 -0400 Received: from mga03.intel.com ([134.134.136.65]:30877 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751816AbbHZJAm (ORCPT ); Wed, 26 Aug 2015 05:00:42 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,415,1437462000"; d="scan'208";a="548752479" Message-ID: <1440579636.2443.26.camel@loki> Subject: Re: Problems loading firmware using built-in drivers with kernels that use initramfs. From: Liam Girdwood To: "Jie, Yang" Cc: Takashi Iwai , Dmitry Torokhov , "Luis R. Rodriguez" , "joonas.lahtinen@linux.intel.com" , Tom Gundersen , Ming Lei , Al Viro , Greg Kroah-Hartman , Kay Sievers , Linus Torvalds , David Woodhouse , Luis Rodriguez , lkml , yalin wang , "Lin, Mengdong" Date: Wed, 26 Aug 2015 10:00:36 +0100 In-Reply-To: References: <1440449403.2469.35.camel@loki> <1440489900.2419.4.camel@loki> <20150825193408.GR8051@wotan.suse.de> <1440576394.2443.17.camel@loki> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1107 Lines: 30 On Wed, 2015-08-26 at 08:29 +0000, Jie, Yang wrote: > > -----Original Message----- > > From: Liam Girdwood [mailto:liam.r.girdwood@linux.intel.com] > > I think the options are to either :- > > > > 1) Don not support audio DSP drivers using topology data as built-in drivers. > > Audio is not really a critical system required for booting anyway. > > > > 2) Create a default PCM for every driver that has topology data on the > > assumption that every sound card will at least 1 PCM. This PCM can then be > > re-configured when the FW is loaded. > > Yep, this case is quite similar with what Linus described. > > Is it possible that we can probe pcm device after firmware is loaded for this > case? > The PCM devices are defined in the topology data so it is only possible to create the PCM device *after* the firmware is loaded in these drivers. Liam -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/