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

Fixed suggestions about getting ES8336 quirk default. #477

merged 1 commit into from
Nov 24, 2023

Conversation

nnseva
Copy link
Contributor

@nnseva nnseva commented Sep 25, 2023

The documentation was wrong about getting the quirk default. I've fixed these details.

Copy link
Member

@lgirdwood lgirdwood left a 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.

Copy link
Member

@cujomalainey cujomalainey left a 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

@deb-intel
Copy link
Collaborator

commit message is empty and unhelpful

also probably missing sign-off

@cujomalainey, to whom are you addressing?

@cujomalainey
Copy link
Member

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

Copy link
Collaborator

@marc-hb marc-hb left a 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.

getting_started/intel_debug/suggestions.rst Outdated Show resolved Hide resolved
@nnseva
Copy link
Contributor Author

nnseva commented Sep 28, 2023

commit message is empty and unhelpful

also probably missing sign-off

Tried to explain the change. Added my sign-off.

marc-hb
marc-hb previously approved these changes Sep 28, 2023
@marc-hb marc-hb changed the title ES8336 quirk default Fixed suggestions about getting ES8336 quirk default. Sep 28, 2023
@marc-hb
Copy link
Collaborator

marc-hb commented Sep 28, 2023

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 :-)

@btian1
Copy link

btian1 commented Oct 9, 2023

fixed --> fix?

@cujomalainey
Copy link
Member

some people and some policies who insist on non-empty commit messages :-)

Yes but I won't argue to block it if everyone else is fine

lgirdwood
lgirdwood previously approved these changes Oct 14, 2023
Copy link
Collaborator

@deb-intel deb-intel left a 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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The default and actual quirk values for the platform can be got
The default and actual quirk values for the platform can be obtained

Copy link
Contributor Author

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:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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:

Copy link
Contributor Author

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The overriden quirk value can also be got from the
The overridden quirk value can also be obtained from

Copy link
Contributor Author

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,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
as plain integer, not hexadecimal). If the quirk is not overriden,
as a plain integer, not hexadecimal). If the quirk is not overridden,

Copy link
Contributor Author

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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
modified, others need to be kept as is.
modified; others need to remain as is.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

btian1
btian1 previously approved these changes Oct 24, 2023
Copy link
Collaborator

@marc-hb marc-hb left a 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 <nnseva@gmail.com>
@nnseva
Copy link
Contributor Author

nnseva commented Nov 17, 2023

@marc-hb

Please git squash @deb-intel 's fixes and force push a single commit.

done

Copy link
Collaborator

@deb-intel deb-intel left a 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.

@lgirdwood
Copy link
Member

All reviewer comments now addressed.

@lgirdwood lgirdwood merged commit cd9ed32 into thesofproject:master Nov 24, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants