Skip to content

[v2] ASoC: rt715-sdca: First version of rt715 sdw sdca codec driver. - #2299

Closed
jack-cy-yu wants to merge 0 commit into
thesofproject:topic/sof-devfrom
jack-cy-yu:topic/sof-dev
Closed

jack-cy-yu wants to merge 0 commit into
thesofproject:topic/sof-devfrom
jack-cy-yu:topic/sof-dev

Conversation

@jack-cy-yu

Copy link
Copy Markdown

Update driver according to #2288 request.

@plbossart plbossart left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I was sometimes lost a bit, it's not clear if the code for rt715 and rt715-sdca is shared or not, sometimes it looks like yes but others not.
Also it'd be good to align on naming conventions for controls, rt711 and rt715 use different ways of exposing SDCA controls, let's try to be consistent.
and last checkpatch.pl would probably report quite a few errors with style/alignment.

Thanks @jack-cy-yu !

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

remove line

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

GPL-2.0-only

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

add line above.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

we should use more normative stuff, like JACK_CODEC, SMARTMIC, HID, and they should be in a common header file.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

drop the port_ready stuff, see #2269

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

use SDW_SLAVE_ENTRY_EXT(), otherwise you will have a conflict with the driver handling the previous version of the hardware.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

GPL-2.0-only

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think it'd be good to have a consistent naming of controls across drivers. for rt711 the control name includes more information that makes it less ambiguous. Something to discuss between @shumingfan and @jack-cy-yu

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

spurious line, checkpatch.pl should complain here?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

and here, run checkpatch.pl

@jack-cy-yu jack-cy-yu closed this Jul 21, 2020
bardliao pushed a commit to bardliao/linux that referenced this pull request Jul 22, 2020
Update driver according to thesofproject#2299 request.

Signed-off-by: Jack Yu <jack.yu@realtek.com>
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.

2 participants