From 487dce8823cdcb70e645e5312a0d4f7081e1ad13 Mon Sep 17 00:00:00 2001 From: Peter Ujfalusi Date: Thu, 14 Nov 2013 11:35:31 +0200 Subject: [PATCH] ASoC: davinci-mcasp: Simplify FIFO configuration code The FIFO registers base address is different in dm646x compared to newer SoCs with McASP IP. Instead of using two paths (switch/case) to handle the difference we can simply pick the correct base address beforehand and use offsets to address the register we need to configure. With this change the indentation depth can be reduced as well. Signed-off-by: Peter Ujfalusi Signed-off-by: Mark Brown --- Reading git-format-patch failed