Re: [PATCH 3/3] usb: ehci-vf: take the register bases from the device tree

Marek Vasut <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
On 8/19/26 11:37 AM, Mehmet Fide wrote:

[...]

> +	misc_off = fdtdec_lookup_phandle(blob, offset, "fsl,usbmisc");

Please avoid fdtdec_*() functions if at all possible.

Either use dev_read_addr() or a variant thereof, or , a variant of 
of_get_address() .

> +	if (misc_off < 0)
> +		return -EINVAL;
[...]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.