Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed suggestions about getting ES8336 quirk default. #477

Merged
merged 1 commit into from
Nov 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 25 additions & 4 deletions getting_started/intel_debug/suggestions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,33 @@ 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 obtained
from the kernel logs in the line as follows:

.. code-block:: none

...
sof-essx8336 sof-essx8336: quirk mask 0x1a0
...

for the unchanged mask, or:

.. code-block:: none

...
sof-essx8336 sof-essx8336: Overriding quirk 0x1a0 => 0x120
...

for the quirk overriding.

The overridden quirk value can also be obtained 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 a plain integer, not hexadecimal). If the quirk is not overridden,
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.
modified; others need to remain as is.

.. code-block:: cfg

Expand Down