ASoC: Intel: avs: max98357a: Explicitly define codec format
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Fri, 3 Mar 2023 13:48:50 +0000 (14:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Apr 2023 10:10:37 +0000 (12:10 +0200)
commitd0652061c3b85e498d9b666e63c49070b4c1caf5
tree44f92a56c4afe2bc12d1204f059f632bc6d0a016
parent57f9a9a232bde7abfe49c3072b29a255da9ba891
ASoC: Intel: avs: max98357a: Explicitly define codec format

[ Upstream commit d16c893425d07ada1fdd817ec06d322efcf69480 ]

max98357a is speaker codec configured in 48000/2/S16_LE format
regardless of front end format, so force it to be so.

Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20230303134854.2277146-2-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/intel/avs/boards/max98357a.c