can: tcan4x5x: tcan4x5x_regmap: set reg_stride to 4
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 15 Dec 2020 23:17:42 +0000 (00:17 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 6 Jan 2021 14:15:40 +0000 (15:15 +0100)
commitaaf120c37cffc59b06a3da489bd0d678b365cd5a
tree2b7b35a7b4efb476fd1718432dfbfe4ec8eccc31
parent6e1caaf8ed22eb700cc47ec353816eee33186c1c
can: tcan4x5x: tcan4x5x_regmap: set reg_stride to 4

This patch sets the regmap stide to 4, as the chip only supports access on 32
bit alligned access.

Reviewed-by: Dan Murphy <dmurphy@ti.com>
Tested-by: Sean Nyekjaer <sean@geanix.com>
Link: https://lore.kernel.org/r/20201215231746.1132907-13-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/tcan4x5x-regmap.c