Skip to content

Commit cd9ed32

Browse files
nnsevalgirdwood
authored andcommitted
intel_debug: Fixed suggestions about getting ES8336 quirk default.
Suggestions fixed corresponding to the reality. Also some fixes mostly regarding syntax provided by request from @deb-intel. Signed-off-by: Vsevolod Novikov <[email protected]>
1 parent f70388a commit cd9ed32

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

getting_started/intel_debug/suggestions.rst

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,12 +294,33 @@ driver:
294294
#define SOC_ES8336_HEADSET_MIC1 BIT(8)
295295
296296
297-
The default quirk value for the platform can be read from
297+
The default and actual quirk values for the platform can be obtained
298+
from the kernel logs in the line as follows:
299+
300+
.. code-block:: none
301+
302+
...
303+
sof-essx8336 sof-essx8336: quirk mask 0x1a0
304+
...
305+
306+
for the unchanged mask, or:
307+
308+
.. code-block:: none
309+
310+
...
311+
sof-essx8336 sof-essx8336: Overriding quirk 0x1a0 => 0x120
312+
...
313+
314+
for the quirk overriding.
315+
316+
The overridden quirk value can also be obtained from the
298317
/sys/module/snd_soc_sof_es8336/parameters/quirk (the value is reported
299-
as plain integer, not hexadecimal). Changes to the default can be
300-
added with the following option in
318+
as a plain integer, not hexadecimal). If the quirk is not overridden,
319+
the `-1` value is returned.
320+
321+
Changes to the default can be added with the following option in
301322
e.g. /etc/modprobe.d/alsa-base.conf. Only the bits listed above can be
302-
modified, others need to be kept as is.
323+
modified; others need to remain as is.
303324

304325
.. code-block:: cfg
305326

0 commit comments

Comments
 (0)