diff options
| author | Rosen Penev <rosenp@gmail.com> | 2025-10-13 22:08:33 -0700 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2025-10-27 09:16:12 +0100 |
| commit | 428ea708b714ba09c96da5722fb1c8b86af509d1 (patch) | |
| tree | e61c5cdd59bf9574dbad94f441581bc1702493ab /drivers/usb/cdns3/cdns3-debug.h | |
| parent | 55db64ddd6a12c5157a61419a11a18fc727e8286 (diff) | |
wifi: rt2x00: check retval for of_get_mac_address
of_get_mac_address can return -EPROBE_DEFER when nvmem is not probed yet
for whatever reason. In this case, nvmem mac assignments will not work.
Based on the function path, this change only has effect for rt2800soc.c
and rt2800pci.c. The former tends to use nvmem for assignments.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Link: https://patch.msgid.link/20251014050833.46377-1-rosenp@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
