summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorAppana Durga Kedareswara rao <appana.durga.rao@xilinx.com>2019-08-12 15:36:43 +0530
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-08-13 16:44:53 +0200
commit93bbd6c5eeb1dbc1f826b4924c21dc71d14b25c8 (patch)
tree35f34c30a24c5f4c3578830100261ae82dd676bb /drivers/hwmon
parent6b0d35891c835319291f2c3b459e666fc809f831 (diff)
can: xilinx_can: xcanfd_rx(): fix FSR register handling in the RX path
After commit c223da689324 ("can: xilinx_can: Add support for CANFD FD frames") the driver is updating the FSR IRI index multiple times (i.e in xcanfd_rx() and xcan_rx_fifo_get_next_frame()), It should be updated once per RX packet. This patch fixes this issue, also this patch removes the unnecessary fsr register checks in xcanfd_rx() API. Fixes: c223da6 ("can: xilinx_can: Add support for CANFD FD frames") Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> Reviewed-by: Shubhrajyoti Datta <Shubhrajyoti.datta@xilinx.com> Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions