Skip to content

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