summaryrefslogtreecommitdiff
path: root/drivers/spi/spi_sh.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2011-05-11 10:47:30 +0200
committerTakashi Iwai <tiwai@suse.de>2011-05-11 14:51:09 +0200
commit03c29680d49662859d14d64f8673550fa3fb2ed1 (patch)
tree0b072dfc7de12605bfa3106c45566b7cc98462fb /drivers/spi/spi_sh.c
parent3a691b28a0ca3cf4d9010c6158318159e0275d2c (diff)
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 <clemens@ladisch.de> Reported-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/spi/spi_sh.c')
0 files changed, 0 insertions, 0 deletions