Skip to content

Commit

Permalink
ES8336 quirk default
Browse files Browse the repository at this point in the history
  • Loading branch information
nnseva committed Sep 25, 2023
1 parent 3c934c7 commit e4218c3
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions getting_started/intel_debug/suggestions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,31 @@ driver:
#define SOC_ES8336_HEADSET_MIC1 BIT(8)
The default quirk value for the platform can be read from
The default and actual quirk values for the platform can be got
from the dmesg log file (/var/log/dmesg) in the line like:

.. code-block:: txt
...
sof-essx8336 sof-essx8336: quirk mask 0x1a0
...
for the unchanged mask, or:

.. code-block:: txt
...
sof-essx8336 sof-essx8336: Overriding quirk 0x1a0 => 0x120
...
for the quirk overriding.

The overriden quirk value can also be got from the
/sys/module/snd_soc_sof_es8336/parameters/quirk (the value is reported
as plain integer, not hexadecimal). Changes to the default can be
added with the following option in
as plain integer, not hexadecimal). If the quirk is not overriden,
the `-1` value is returned.

Changes to the default can be added with the following option in
e.g. /etc/modprobe.d/alsa-base.conf. Only the bits listed above can be
modified, others need to be kept as is.

Expand Down

0 comments on commit e4218c3

Please sign in to comment.