Bluetooth: hci_bcm: Handle possible error from acpi_dev_get_resources()
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Wed, 30 Sep 2015 13:26:42 +0000 (16:26 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 1 Oct 2015 08:03:37 +0000 (10:03 +0200)
commit5be00284dc85dadd5241833fbca645c19baebebb
tree231dfa3da07ed824e9ccd00d8a671bcddc30028f
parent09dbf1b7847ca09afb4616021fdc928452511888
Bluetooth: hci_bcm: Handle possible error from acpi_dev_get_resources()

Driver doesn't handle possible error from acpi_dev_get_resources(). Test it
and return the error code in case of error.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c