} else {
/* nested path */
struct mixer_path *sub_path = path_get_by_name(ar, attr_name);
if (!sub_path) {
ALOGE("unable to find sub path '%s'", attr_name);
} else {
/* nested path */
struct mixer_path *sub_path = path_get_by_name(ar, attr_name);
if (!sub_path) {
ALOGE("unable to find sub path '%s'", attr_name);