From: Eric Miao Date: Thu, 23 Apr 2009 09:05:38 +0000 (+0800) Subject: ASoC: simplify the SSP DMA parameters settings by run-time generation X-Git-Tag: v2.6.31-rc1~363^2~29^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d7e71fa231035d69faffbfe506ef23638385994;p=pandora-kernel.git ASoC: simplify the SSP DMA parameters settings by run-time generation The SSP DMA parameters can actually be easily generated at run-time since they are almost similar except for the FIFO width and direction. Another benefit is the re-use of information from 'struct ssp_device', like SSDR physical FIFO address and DRCMR register index for both directions. Signed-off-by: Eric Miao Signed-off-by: Mark Brown Reviewed-by: pHilipp Zabel --- Reading git-diff-tree failed