Home
last modified time | relevance | path

Searched hist:"75 d9ac46b99280f5f381927ae75a9eaf21844d20" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/include/sound/
H A Dsoc-dai.hdiff 75d9ac46b99280f5f381927ae75a9eaf21844d20 Tue Sep 27 10:41:01 CDT 2011 Mark Brown <broonie@opensource.wolfsonmicro.com> ASoC: Allow DAI formats to be specified in the dai_link

For almost all machines the DAI format is a constant, always set to the
same thing. This means that not only should we normally set it on init
rather than in hw_params() (where it has been for historical reasons) we
should also allow users to configure this by setting a variable in the
dai_link structure. The combination of these two will make many machine
drivers even more data driven.

Implement a new dai_fmt field in the dai_link doing just that. Since 0 is
a valid value for many format flags and we need to be able to tell if the
field is actually set also add one to all the values used to configure
formats.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
H A Dsoc.hdiff 75d9ac46b99280f5f381927ae75a9eaf21844d20 Tue Sep 27 10:41:01 CDT 2011 Mark Brown <broonie@opensource.wolfsonmicro.com> ASoC: Allow DAI formats to be specified in the dai_link

For almost all machines the DAI format is a constant, always set to the
same thing. This means that not only should we normally set it on init
rather than in hw_params() (where it has been for historical reasons) we
should also allow users to configure this by setting a variable in the
dai_link structure. The combination of these two will make many machine
drivers even more data driven.

Implement a new dai_fmt field in the dai_link doing just that. Since 0 is
a valid value for many format flags and we need to be able to tell if the
field is actually set also add one to all the values used to configure
formats.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
/openbmc/linux/sound/soc/
H A Dsoc-core.cdiff 75d9ac46b99280f5f381927ae75a9eaf21844d20 Tue Sep 27 10:41:01 CDT 2011 Mark Brown <broonie@opensource.wolfsonmicro.com> ASoC: Allow DAI formats to be specified in the dai_link

For almost all machines the DAI format is a constant, always set to the
same thing. This means that not only should we normally set it on init
rather than in hw_params() (where it has been for historical reasons) we
should also allow users to configure this by setting a variable in the
dai_link structure. The combination of these two will make many machine
drivers even more data driven.

Implement a new dai_fmt field in the dai_link doing just that. Since 0 is
a valid value for many format flags and we need to be able to tell if the
field is actually set also add one to all the values used to configure
formats.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>