From: Takashi Iwai Subject: Re: [PATCH 3/5] [RFC]intel_hdmi_audio: driver module - ALSA intereaction Date: Thu, 25 Nov 2010 06:50:01 +0100 Message-ID: References: <1290433186-31628-1-git-send-email-ramesh.babu@intel.com> <1290433186-31628-3-git-send-email-ramesh.babu@intel.com> <4F93CB265C2E2E42A19CD9E994A1FA5D060B039EEC@bgsmsx501.gar.corp.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 mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 1F630103B8A for ; Thu, 25 Nov 2010 06:50:02 +0100 (CET) In-Reply-To: <4F93CB265C2E2E42A19CD9E994A1FA5D060B039EEC@bgsmsx501.gar.corp.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: "Bandarupalli, Sailaja" Cc: "Wu, Fengguang" , "alsa-devel@alsa-project.org" , Mark Brown , "Babu, Ramesh" List-Id: alsa-devel@alsa-project.org At Thu, 25 Nov 2010 11:10:53 +0530, Bandarupalli, Sailaja wrote: > > > > + > > > +/* hardware capability structure */ > > > +static const struct snd_pcm_hardware snd_intel_hadstream = { > > > + .info = (SNDRV_PCM_INFO_INTERLEAVED | > > > + SNDRV_PCM_INFO_DOUBLE | > > > + SNDRV_PCM_INFO_PAUSE | > > > + SNDRV_PCM_INFO_RESUME | > > > > You have to implement corresponding stuff if you mark the driver as > > RESUME-able. > > Yes we have implemented SNDRV_PCM_TRIGGER_PAUSE_RELEASE PAUSE != RESUME. For implementing the PM resume, you need more works. Also I don't remember whether you implemented PM suspend/resume callbacks, did you...? Takashi