Skip to content

Commit

Permalink
arm64: can: phytium: Use CAN mode as the default mode under ACPI
Browse files Browse the repository at this point in the history
Phytium CANFD ususally is not supported without explicit specifying in
ACPI. Therefore, the default mode under ACPI should be CAN rather than
CANFD.

Signed-off-by: yuanxia <[email protected]>
Signed-off-by: Chen Zhenhua <[email protected]>
Signed-off-by: Chen Baozi <[email protected]>
Signed-off-by: Wang Yinfeng <[email protected]>
  • Loading branch information
yuanxia0927 authored and Avenger-285714 committed Jun 1, 2024
1 parent a7660ce commit 5ca1c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/can/phytium/phytium_can_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static int phytium_can_plat_probe(struct platform_device *pdev)
const struct phytium_can_devtype *devtype = &phytium_can_data;
u32 tx_fifo_depth;
int ret;
const char *str = "canfd";
const char *str = "can";

ret = fwnode_property_read_u32(dev_fwnode(&pdev->dev), "tx-fifo-depth", &tx_fifo_depth);
if (ret)
Expand Down

0 comments on commit 5ca1c5b

Please sign in to comment.