From: Takashi Iwai Subject: Re: [PATCH] ALSA: HDAC: move SND_HDA_PREALLOC_SIZE to core Date: Tue, 16 Jun 2015 17:58:11 +0200 Message-ID: References: <1434468622-26918-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 (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id CCAE72658D4 for ; Tue, 16 Jun 2015 17:58:12 +0200 (CEST) In-Reply-To: <1434468622-26918-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 List-Id: alsa-devel@alsa-project.org At Tue, 16 Jun 2015 21:00:22 +0530, Vinod Koul wrote: > > Since this is common option for HDA driver to specfiy pre-allocated > buffer, we should make this option availble to all HDA driver by > moving this to HDA core > > Signed-off-by: Vinod Koul Applied, thanks. Takashi > --- > sound/hda/Kconfig | 13 +++++++++++++ > sound/pci/hda/Kconfig | 13 ------------- > 2 files changed, 13 insertions(+), 13 deletions(-) > > diff --git a/sound/hda/Kconfig b/sound/hda/Kconfig > index 6dc3914fd28b..3129546398d0 100644 > --- a/sound/hda/Kconfig > +++ b/sound/hda/Kconfig > @@ -14,3 +14,16 @@ config SND_HDA_I915 > config SND_HDA_EXT_CORE > tristate > select SND_HDA_CORE > + > +config SND_HDA_PREALLOC_SIZE > + int "Pre-allocated buffer size for HD-audio driver" > + range 0 32768 > + default 64 > + help > + Specifies the default pre-allocated buffer-size in kB for the > + HD-audio driver. A larger buffer (e.g. 2048) is preferred > + for systems using PulseAudio. The default 64 is chosen just > + for compatibility reasons. > + > + Note that the pre-allocation size can be changed dynamically > + via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too. > diff --git a/sound/pci/hda/Kconfig b/sound/pci/hda/Kconfig > index 98ced971cb43..e94cfd5c69f7 100644 > --- a/sound/pci/hda/Kconfig > +++ b/sound/pci/hda/Kconfig > @@ -38,19 +38,6 @@ config SND_HDA_TEGRA > > if SND_HDA > > -config SND_HDA_PREALLOC_SIZE > - int "Pre-allocated buffer size for HD-audio driver" > - range 0 32768 > - default 64 > - help > - Specifies the default pre-allocated buffer-size in kB for the > - HD-audio driver. A larger buffer (e.g. 2048) is preferred > - for systems using PulseAudio. The default 64 is chosen just > - for compatibility reasons. > - > - Note that the pre-allocation size can be changed dynamically > - via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too. > - > config SND_HDA_HWDEP > bool "Build hwdep interface for HD-audio driver" > select SND_HWDEP > -- > 1.9.1 >