SysTutorials

Linux Manual Pages › Section 9

snd_soc_component_read(9)

snd_soc_component_read - Read register value

Synopsis

int snd_soc_component_read(struct snd_soc_component *component, unsigned int reg, unsigned int *val);

Arguments

component

Component to read from

reg

Register to read

val

Pointer to where the read value is stored

Return

0 on success, a negative error code otherwise.

Copyright