Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion drivers/spi/adi_spi3.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ static int adi_spi_of_to_plat(struct udevice *bus)
struct adi_spi_platdata *plat = dev_get_plat(bus);
fdt_addr_t addr;

plat->max_hz = dev_read_u32_default(bus, "spi-max-frequency", 500000);
plat->max_hz = dev_read_u32_default(bus, "spi-max-frequency", U32_MAX);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why parse this meaningless property at all? Why not just drop it?

plat->bus_num = dev_read_u32_default(bus, "bus-num", 0);
addr = dev_read_addr(bus);

Expand Down
Loading