-
Notifications
You must be signed in to change notification settings - Fork 74
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@plbossart @ujfalusi pls review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
commit message is empty and unhelpful
also probably missing sign-off
@cujomalainey, to whom are you addressing? |
The author, you cannot comment on commit messages directly hence the un-anchored review comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not add warnings.
Tried to explain the change. Added my sign-off. |
The commit message body in d555d7a7646 is still empty. Not a problem for me because the commit message title looks very good to me now and enough for this small fix but there are some people and some policies who insist on non-empty commit messages :-) |
fixed --> fix? |
Yes but I won't argue to block it if everyone else is fine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please incorporate the minor grammatical edits at your convenience.
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default and actual quirk values for the platform can be got | |
The default and actual quirk values for the platform can be obtained |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from the dmesg log file (/var/log/dmesg) in the line like: | |
from the dmesg log file (/var/log/dmesg) in the line as follows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
|
||
for the quirk overriding. | ||
|
||
The overriden quirk value can also be got from the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The overriden quirk value can also be got from the | |
The overridden quirk value can also be obtained from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
/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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as plain integer, not hexadecimal). If the quirk is not overriden, | |
as a plain integer, not hexadecimal). If the quirk is not overridden, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modified, others need to be kept as is. | |
modified; others need to remain as is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please git squash @deb-intel 's fixes and force push a single commit.
We don't use GitHub "the GitHub way" in this project, we use GitHub in the older, more traditional git way where each commit in a PR stands alone / is its own thing.
For more context:
zephyrproject-rtos/zephyr#39194
https://gitlab.com/gitlab-org/gitlab/-/issues/24096
PS: yes the maintainer can "squash and merge" at the end but we usually don't do that, see above why.
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]>
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with integrated change requests.
All reviewer comments now addressed. |
The documentation was wrong about getting the quirk default. I've fixed these details.