]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: davinci-mcasp: clean up davinci_hw_common_param()
authorDaniel Mack <zonque@gmail.com>
Fri, 8 Mar 2013 13:19:38 +0000 (14:19 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 12 Mar 2013 19:03:53 +0000 (19:03 +0000)
commitecf327c7ca5ddcbe611a33c88c19b8be3d0d2322
tree240eceb0155b30cc5335bac3ebeddb7ebf5cd0c7
parent2952b27e2e463b28d5c0f04000f96b968137ca42
ASoC: davinci-mcasp: clean up davinci_hw_common_param()

As pointed of by Vaibhav, commit 2952b27e2 ("ASoC: davinci-mcasp:
Add support for multichannel playback") duplicated the logic of
counting the active serializers. That can be avoided by shifting
the code around a bit.

Also, drop two unused defines introduced by the same commit.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/davinci/davinci-mcasp.c