Example #1
0
void audiohw_set_treble(int value)
{
	wmcodec_write(TREBCTRL, TREBCTRL_BITS |
		      TREBCTRL_TREB(tone_tenthdb2hw(value)));
}
Example #2
0
void audiohw_set_treble(int value)
{
    wmcodec_set_masked(TREBCTRL, TREBCTRL_TREB(tone_tenthdb2hw(value)),
                       TREBCTRL_TREB_MASK);
}