Uh oh!
There was an error while loading. Please reload this page.
ASoC: rt715-sdca: First version of rt715 sdw sdca codec driver - #2308
Conversation
lyakh
left a comment
There was a problem hiding this comment.
Thanks for the update! A couple more comments.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
lyakh
left a comment
There was a problem hiding this comment.
Thanks for the update! Usually we update patches by force-pushing a new version, but a few weeks ago I indeed raised a question and proposed to do exactly what you have done - add a fixup patch on top of the existing commits. And your PR is a rather good example of why this is easier to review. Instead of comparing the two versions of your patch reviewing this small fixup is certainly easier. This difference is even much greater in multi-commit PRs. But I don't know what the maintainers will say, whether they'll agree to take these two commits and merge them into one themselves. What would probably help them though if you added a keyword "fixup!" in the beginning of your patch subject. You can just change the subject here to add it. You can also look through other PRs for examples.
Update driver according to thesofproject#2308 request. Signed-off-by: Jack Yu <jack.yu@realtek.com>
Update driver according to thesofproject#2308 request. Signed-off-by: Jack Yu <jack.yu@realtek.com>
bardliao
left a comment
There was a problem hiding this comment.
Thanks @jack-cy-yu We are very closed. Please add rt714 in the id_table. Use dev_err instead of pr_err if possible and merge the two commits at last.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Update driver according to thesofproject#2308 request. Signed-off-by: Jack Yu <jack.yu@realtek.com>
Uh oh!
There was an error while loading. Please reload this page.
Update driver according to thesofproject#2308 request. Signed-off-by: Jack Yu <jack.yu@realtek.com>
Update driver according to thesofproject#2308 request. Signed-off-by: Jack Yu <jack.yu@realtek.com>
marc-hb
commented
Oct 12, 2020
This needs (at least) to be rebased. |
plbossart
commented
Oct 15, 2020
@jack-cy-yu can you rebase to have a newer branch, and address all Travis CI/checkpatch issues (except for alignment and newline after {), thanks! |
marc-hb
commented
Oct 15, 2020
This has already been rebased, "age of git base" is zero in https://travis-ci.org/github/thesofproject/linux/jobs/735662250 |
bardliao
left a comment
There was a problem hiding this comment.
@jack-cy-yu It looks overall good. Some minor comments and checkpatch issues should be addressed. You can run "./scripts/checkpatch.pl --strict <patch name" before updating the patch. Thanks.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
marc-hb
commented
Oct 16, 2020
@jack-cy-yu I'm curious why you keep closing and re-opening? |
jack-cy-yu
commented
Oct 16, 2020
@marc-hb I guess that's because I update my remote branch first and then send PR to thesofproject. When my remote branch got updated, this PR will also be closed. and when I push the latest PR to my remote branch, this PR can be reopened again. |
kv2019i
left a comment
There was a problem hiding this comment.
Looks good to me. The many checkpatch issues on alignment seem like something easy to fix, but some comments indicate these can be left, so maybe this has been covered already (tried to search the comments, but could not find where this was discussed).
plbossart
left a comment
There was a problem hiding this comment.
@jack-cy-yu I think we are missing a devm_ initialization, see below.
| slave->ops = &rt715_sdca_slave_ops; | ||
| /* Regmap Initialization */ | ||
| mbq_regmap = regmap_init_sdw_mbq(slave, &rt715_sdca_mbq_regmap); |
There was a problem hiding this comment.
can we use devm_regmap_init_sdw_mbq now?
bardliao
commented
Oct 20, 2020
@jack-cy-yu Can you remove the "v16" tag on the commit title? |
First version of rt715 sdw sdca codec driver. Signed-off-by: Jack Yu <jack.yu@realtek.com>
jack-cy-yu
commented
Oct 20, 2020
@bardliao I've updated both title and latest PR comment. Thanks. |
plbossart
left a comment
There was a problem hiding this comment.
Thanks @jack-cy-yu I will merge but please look at the comments below for improvements that can be done with a fixup! patch
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| enum { | ||
| RT715_AIF1, | ||
| RT715_AIF2, | ||
| RT715_AIFS, |
There was a problem hiding this comment.
you are not using this AIFS, what was it intended for?
I also see if in rt715.h.
There was a problem hiding this comment.
@plbossart I'll send a fixup patch to remove RT715_AIFS for rt715.h.
There was a problem hiding this comment.
you are not using this AIFS, what was it intended for?
I also see if in rt715.h.
The _AIFS indicates total number of audio interfaces. It is a common usage in Realtek codec drivers. For example, rt5682.h
marc-hb
commented
Oct 20, 2020
I'm not sure what you mean by "send PR to thesofproject". When you push to a remote branch already submitted in a PR then the PR gets updated automatically, there is nothing else to do besides
|
bardliao
commented
Oct 21, 2020
@marc-hb I discussed it with @jack-cy-yu. Now I think I can explain it. @jack-cy-yu pulled the latest code from thesofproject/topic/sof-dev to his own branch, and pushed it without adding his commits to his remote branch. i.e, jack-cy-yu/topic/sof-dev and thesofproject/topic/sof-dev are identical at this point. And github is smart enough to close the PR since there is nothing to merge. @jack-cy-yu pushed his remote branch with his commits then, and the PR re-opened. |
jack-cy-yu
commented
Oct 21, 2020
@plbossart I've created another PR #2517 for fixup. |
Thanks @bardliao for solving this github mystery!
I think you're being a bit too generous calling this "smart", especially so considering github confusingly does not say what happened. But I understand its logic :-) |
Update driver according to #2303 request.
Signed-off-by: Jack Yu jack.yu@realtek.com