Re: [PATCH 3/3] usb: ehci-vf: take the register bases from the device tree
Marek Vasut <[email protected]>
| Newsgroups | gmane.comp.boot-loaders.u-boot |
|---|---|
| Message-ID | <332c309a-d418-4b18-a370-9ed83437d947__29159.1062372149$1787198158$gmane$org@mailbox.org> |
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; [...]