commit | 31dea7385174596f4369f71c712f1d1006a3fa05 | [log] [tgz] |
---|---|---|
author | Lu Guanqun <guanqun.lu@intel.com> | Wed Apr 06 10:20:42 2011 +0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue May 10 12:51:58 2011 -0700 |
tree | 2bdfe54da73c3f1e6be621d524ebd4b7737f2dbb | |
parent | fb03d4fc6c9bc4bf509221101639cde1b8330405 [diff] |
sst: make register_sst_card more self-contained register_sst_card is used in ASoC code with field `scard_ops` being NULL. Without this patch, there will be NULL dereference. Signed-off-by: Lu Guanqun <guanqun.lu@intel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>