Commit 499aa923 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde

can: flexcan: flexcan_setup_stop_mode(): add missing "req_bit" to stop mode property comment

In the patch

    d9b081e3 ("can: flexcan: remove ack_grp and ack_bit handling from driver")

the unused ack_grp and ack_bit were removed from the driver. However in the
comment, the "req_bit" was accidentally removed, too.

This patch adds back the "req_bit" bit.

Fixes: d9b081e3 ("can: flexcan: remove ack_grp and ack_bit handling from driver")
Reported-by: default avatarJoakim Zhang <qiangqing.zhang@nxp.com>
Link: http://lore.kernel.org/r/20201014114810.2911135-1-mkl@pengutronix.deSigned-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 8a68cc0d
...@@ -1852,7 +1852,7 @@ static int flexcan_setup_stop_mode(struct platform_device *pdev) ...@@ -1852,7 +1852,7 @@ static int flexcan_setup_stop_mode(struct platform_device *pdev)
return -EINVAL; return -EINVAL;
/* stop mode property format is: /* stop mode property format is:
* <&gpr req_gpr>. * <&gpr req_gpr req_bit>.
*/ */
ret = of_property_read_u32_array(np, "fsl,stop-mode", out_val, ret = of_property_read_u32_array(np, "fsl,stop-mode", out_val,
ARRAY_SIZE(out_val)); ARRAY_SIZE(out_val));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment