Re: [PATCH v3] ASoC: cs35l41: Steam Deck Shared boost properties quirk

From: Lucas Tanure
Date: Wed Mar 01 2023 - 11:14:18 EST


On 01-03-2023 14:50, Mark Brown wrote:
On Wed, Mar 01, 2023 at 12:44:47PM +0000, Lucas Tanure wrote:
Add support for Steam Deck bios old properties. If a Steam deck didn't
upgrade the BIOS, the driver should be able to handle the previous
properties for shared boost types.

This doesn't build:

/build/stage/linux/sound/soc/codecs/cs35l41.c: In function ‘cs35l41_handle_pdata’:
/build/stage/linux/sound/soc/codecs/cs35l41.c:1041:36: error: ‘CS35L41_SHD_BOOST_ACTV’ undeclared (first use in this function); did you mean ‘CS35L41_EXT_BOOST’?
1041 | hw_cfg->bst_type = CS35L41_SHD_BOOST_ACTV;
| ^~~~~~~~~~~~~~~~~~~~~~
| CS35L41_EXT_BOOST
/build/stage/linux/sound/soc/codecs/cs35l41.c:1041:36: note: each undeclared identifier is reported only once for each function it appears in
/build/stage/linux/sound/soc/codecs/cs35l41.c:1043:36: error: ‘CS35L41_SHD_BOOST_PASS’ undeclared (first use in this function); did you mean ‘CS35L41_EXT_BOOST’?
1043 | hw_cfg->bst_type = CS35L41_SHD_BOOST_PASS;
| ^~~~~~~~~~~~~~~~~~~~~~
| CS35L41_EXT_BOOST

My mistake, it seems I checkout the wrong tree here with the Shared boost patches already merged.
This patches needed the previous Shared boost series merged.
I will wait for that patches series to be merged.
Sorry About that.