[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141203172526.GC7712@sirena.org.uk>
Date: Wed, 3 Dec 2014 17:25:26 +0000
From: Mark Brown <broonie@...nel.org>
To: Andrew Jackson <Andrew.Jackson@....com>
Cc: Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.de>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Rajeev Kumar <rajeevkumar.linux@...il.com>,
Liam Girdwood <lgirdwood@...il.com>,
Liviu Dudau <Liviu.Dudau@....com>
Subject: Re: [PATCH 2/5] ASoC: dwc: Don't allow negative use counts
On Wed, Dec 03, 2014 at 04:38:55PM +0000, Andrew Jackson wrote:
> case SNDRV_PCM_TRIGGER_STOP:
> case SNDRV_PCM_TRIGGER_SUSPEND:
> case SNDRV_PCM_TRIGGER_PAUSE_PUSH:
> - dev->active--;
> + if (dev->active > 0)
> + dev->active--;
How is this triggering - this sounds like you're papering over some
other bug somewhere?
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists