intel_sst: fix unload bugs
authorVinod Koul <vinod.koul@intel.com>
Tue, 3 May 2011 16:32:13 +0000 (17:32 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 May 2011 19:55:53 +0000 (12:55 -0700)
commit1bea302c2fe28405cf10f60599c904dfa0bad3fe
tree1ba4c489f3c7d5118b8c602ff51aeda034400477
parentb06a584c219f4cda1ff22d4988bc8ea19589a2c8
intel_sst: fix unload bugs

The current driver remove was erroneous and causes
errors when unloading or loading second time

This patch fixes both of these issues

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Ramesh Babu K V <ramesh.babu@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/intel_sst/intel_sst.c