Skip to contentSkip to conversation

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

PATCH New Marc Kleine-Budde 1 participant 1 message Oct 14, 2020 CAN network drivers

lore
Share & tools
lore

Marc Kleine-Budde

author maintainer
#0 lore raw

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

In the patch

d9b081e3fc4b ("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 d9b081e3fc4b ("can: flexcan: remove ack_grp and ack_bit handling from driver")
---
 drivers/net/can/flexcan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/can/flexcan.c +1 -1
index 4d594e977497..bfa11131219a 100644
@@ -1852,7 +1852,7 @@ static int flexcan_setup_stop_mode(struct platform_device *pdev)
 		return -EINVAL;
 
 	/* 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,
 					 ARRAY_SIZE(out_val));
Signature · 1 line
2.28.0