Skip to content

ASoC: pcm3168a: remove read-only status register from snd_kcontrol_new #76

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

Merged
merged 1 commit into from
Aug 13, 2019
Merged

ASoC: pcm3168a: remove read-only status register from snd_kcontrol_new #76

merged 1 commit into from
Aug 13, 2019

Conversation

rshym
Copy link
Collaborator

@rshym rshym commented Jul 31, 2019

"DACn Zero Flag" and "ADCn Overflow Flag" are read-only status
register. There is no detail explanation for these register on
datasheet, but, judging from its behavior, it seems these register
needs clock to read. Otherwise, I2C returns error.
Therefor, amixer command will be failed under non working timing.
These information are needed for driver, not for user.
So, let's remove these from snd_kcontrol_new.

Without this patch, user often fail amixer command.
This patch is tested on R-Car H3 ulcb-kf board, SSI3/4 TDM sound.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>

"DACn Zero Flag" and "ADCn Overflow Flag" are read-only status
register. There is no detail explanation for these register on
datasheet, but, judging from its behavior, it seems these register
needs clock to read. Otherwise, I2C returns error.
Therefor, amixer command will be failed under non working timing.
These information are needed for driver, not for user.
So, let's remove these from snd_kcontrol_new.

Without this patch, user often fail amixer command.
This patch is tested on R-Car H3 ulcb-kf board, SSI3/4 TDM sound.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
@rshym
Copy link
Collaborator Author

rshym commented Jul 31, 2019

@rshym
Copy link
Collaborator Author

rshym commented Aug 7, 2019

Tested.

@andr2000
Copy link
Collaborator

Acked-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>

@rshym
Copy link
Collaborator Author

rshym commented Aug 13, 2019

@iartemenko could you merge please?

@iartemenko iartemenko merged commit 79b42d9 into xen-troops:master Aug 13, 2019
@rshym rshym deleted the mr_remove_adc_dac_nodes branch August 13, 2019 09:27
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.

3 participants