+13
−6
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Since the register stride should always equal to 2^N, and bit rotation is much faster than multiplication and division. So introducing the stride order and using bit rotation to get the offset of the register from the index to improve the performance. Signed-off-by:Xiubo Li <lixiubo@cmss.chinamobile.com> Signed-off-by:
Mark Brown <broonie@kernel.org>