aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorLoic Poulain <[email protected]>2017-06-27 19:15:07 +0200
committerMarcel Holtmann <[email protected]>2017-06-27 19:28:11 +0200
commitcdd24a200a8fa39e383890bbf862c0aa83ba83f5 (patch)
tree0e4a4176f854f33c0c39cec9c7fdb85cf38396f3 /net/lapb/lapb_subr.c
parent640e32c9ee55a7938eb7d629a87f46a94f77a87f (diff)
Bluetooth: hci_bcm: Fix unwanted error reporting if no bcm dev
The hci_bcm proto is able to operate without bcm platform device linked to its uart port. In that case, firmware can be applied, but there is no power operation (no gpio/irq resources mgmt). However, the current implementation breaks this use case because of reporting a ENODEV error in the bcm setup procedure if bcm_request_irq fails (which is the case if no bcm device linked). Fix this by removing bcm_request_irq error forwarding. Signed-off-by: Loic Poulain <[email protected]> Reported-by: Ian Molton <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions