From: Clemens Ladisch Date: Wed, 11 May 2011 08:47:30 +0000 (+0200) Subject: ALSA: isight: fix isight_pcm_abort() crashes X-Git-Tag: v3.0-rc1~347^2~2^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03c29680d49662859d14d64f8673550fa3fb2ed1;p=pandora-kernel.git ALSA: isight: fix isight_pcm_abort() crashes Fix crashes in isight_pcm_abort() that happen when the driver tries to access isight->pcm->runtime which does not exist when the device is not open. Introduce a new field pcm_active to track this state. Signed-off-by: Clemens Ladisch Reported-by: Stefan Richter Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed