On Friday 19 January 2018 12:19 AM, David Lechner wrote: >> > > or to avoid defining a new macro? > > >> regmap_write_bits(clk->regmap, CFGCHIP(2), >> CFGCHIP2_USB1PHYCLKMUX, >> index ? CFGCHIP2_USB1PHYCLKMUX : 0); Looks good as well! Regards, Sekhar