commit | ab57b8e90c658a72944c48a81a1352e61e84db02 | [log] [tgz] |
---|---|---|
author | Maruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu@amd.com> | Fri Oct 23 17:15:41 2015 -0400 |
committer | Mark Brown <broonie@kernel.org> | Sat Oct 24 06:29:38 2015 +0900 |
tree | 3e425eb46f1fe598c204bcca88a98d08c713ad9d | |
parent | 1d957d862ac782eaf5803d4d4cf167708e4dc147 [diff] |
ASoC: dwc: add check for master/slave format DW i2s controller's master/slave config can be read from a read-only register. Machine driver can try to set a master/slave format on cpu-dai using 'set_fmt' of dai ops. A check is added to verify codec is master when dwc is slave and vice-versa. Signed-off-by: Maruthi Bayyavarapu <maruthi.bayyavarapu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Mark Brown <broonie@kernel.org>