intel_sst: return correct output/input device id
authorLu Guanqun <guanqun.lu@intel.com>
Tue, 3 May 2011 16:34:40 +0000 (17:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 May 2011 19:58:28 +0000 (12:58 -0700)
commite51a34f3e83b96a4cfa2fdc2ba952c3f8b66c1da
tree58ebe05facf2f6682aac72481b2c774ba141ed81
parent24298b0e664595c92a2ed76f232173381f48f2ee
intel_sst: return correct output/input device id

Without this patch, the change of output/input device can't be reflected
correctly. The mismatch reflects insane design, and should be fixed when
switching to the ASoC framework.

Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Acked-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/intel_sst/intelmid_ctrl.c