On 06/18, Heiko Stuebner wrote: > The macros calculate the correct offset from the id in the parameter. > If this parameter does not consist of a single number, the calculation > will return wrong registers in the best case or create unaligned accesses > in the worst case. So protect the calculations against such values. > > Signed-off-by: Heiko Stuebner <heiko at sntech.de> > --- Applied to clk-rk3368 -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project