iio: invensense: fix interrupt timestamp alignment
Restrict interrupt timestamp alignment for not overflowing max/min period thresholds. Fixes: 0ecc363c ("iio: make invensense timestamp module generic") Cc: stable@vger.kernel.org Signed-off-by:Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com> Link: https://lore.kernel.org/r/20240426135814.141837-1-inv.git-commit@tdk.com Signed-off-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com>
Loading