summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_core.c
diff options
context:
space:
mode:
authorMauri Sandberg <maukka@ext.kapsi.fi>2022-02-23 16:23:37 +0200
committerJakub Kicinski <kuba@kernel.org>2022-02-24 10:05:08 -0800
commit42404d8f1c01861b22ccfa1d70f950242720ae57 (patch)
treefaac8d3a47f5e238512bb3293f38ab62d3a4ead0 /net/bluetooth/hci_core.c
parentcd33bdcbead882c2e58fdb4a54a7bd75b610a452 (diff)
downloadlinux-42404d8f1c01861b22ccfa1d70f950242720ae57.tar.gz
linux-42404d8f1c01861b22ccfa1d70f950242720ae57.tar.bz2
linux-42404d8f1c01861b22ccfa1d70f950242720ae57.zip
net: mv643xx_eth: process retval from of_get_mac_address
Obtaining a MAC address may be deferred in cases when the MAC is stored in an NVMEM block, for example, and it may not be ready upon the first retrieval attempt and return EPROBE_DEFER. It is also possible that a port that does not rely on NVMEM has been already created when getting the defer request. Thus, also the resources allocated previously must be freed when doing a roll-back. Fixes: 76723bca2802 ("net: mv643xx_eth: add DT parsing support") Signed-off-by: Mauri Sandberg <maukka@ext.kapsi.fi> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20220223142337.41757-1-maukka@ext.kapsi.fi Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/bluetooth/hci_core.c')
0 files changed, 0 insertions, 0 deletions