From: Andres Salomon Date: Mon, 3 Sep 2007 13:41:47 +0000 (+0200) Subject: [ALSA] cs5535audio: correctly set dma->substream X-Git-Tag: v2.6.24-rc1~832^2~112 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7abcacb09ac0f9c6848f1e7d86b284427fa83cee;p=pandora-kernel.git [ALSA] cs5535audio: correctly set dma->substream We're never actually setting dma->substream to the current substream; that means the dma->substream checks that we do in the suspend/resume path are never satisfied, and the PRD registers are never correctly managed. This changes it so that we set the substream when constructing the specific bus master DMA, and unsetting it when we tear down the BM's DMA. Signed-off-by: Andres Salomon Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed