From: Joachim Eastwood Date: Sun, 1 Jan 2012 00:58:44 +0000 (+0100) Subject: ASoC: check for substream not channels_min in pcm engines X-Git-Tag: v3.3-rc1~14^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25e9e7565f9aa9e4b976387a3fab60bfaa4efac8;p=pandora-kernel.git ASoC: check for substream not channels_min in pcm engines This is a follow up on 53dea36c70c1857 which fixes the other affected pcm engines. Description from 53dea36c70c1857: Don't rely on the codec's channels_min information to decide wheter or not allocate a substream's DMA buffer. Rather check if the substream itself was allocated previously. Without this patch I was seeing null-pointer dereferenc in atmel-pcm. Signed-off-by: Joachim Eastwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed