get_amp_max_value
uinfo->value.integer.max = get_amp_max_value(codec, nid, dir, ofs);
maxval = get_amp_max_value(codec, nid, dir, 0);