linux-stable/drivers
Loic Poulain 5b58533858 Bluetooth: hci_qca: Avoid setup failure on missing rampatch
[ Upstream commit ba8f359790 ]

Assuming that the original code idea was to enable in-band sleeping
only if the setup_rome method returns succes and run in 'standard'
mode otherwise, we should not return setup_rome return value which
makes qca_setup fail if no rampatch/nvm file found.

This fixes BT issue on the dragonboard-820C p4 which includes the
following QCA controller:
hci0: Product:0x00000008
hci0: Patch  :0x00000111
hci0: ROM    :0x00000302
hci0: SOC    :0x00000044

Since there is no rampatch for this controller revision, just make
it work as is.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-24 11:01:21 +01:00
..
accessibility
acpi ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530 2018-03-08 22:41:26 -08:00
amba
android
ata
atm
auxdisplay
base dma-buf/fence: Fix lock inversion within dma-fence-array 2018-03-19 08:42:47 +01:00
bcma
block loop: Fix lost writes caused by missing flag 2018-03-15 10:54:32 +01:00
bluetooth Bluetooth: hci_qca: Avoid setup failure on missing rampatch 2018-03-24 11:01:21 +01:00
bus
cdrom
char agp/intel: Flush all chipset writes after updating the GGTT 2018-03-19 08:42:55 +01:00
clk clk: qcom: msm8916: fix mnd_width for codec_digcodec 2018-03-19 08:42:52 +01:00
clocksource
connector
cpufreq cpufreq: Fix governor module removal race 2018-03-19 08:42:51 +01:00
cpuidle
crypto crypto: caam/qi - use correct print specifier for size_t 2018-03-19 08:42:55 +01:00
dax
dca
devfreq
dio
dma dmaengine: qcom_hidma: check pending interrupts 2018-03-19 08:42:56 +01:00
dma-buf dma-buf/fence: Fix lock inversion within dma-fence-array 2018-03-19 08:42:47 +01:00
edac EDAC, sb_edac: Fix out of bound writes during DIMM configuration on KNL 2018-03-08 22:41:20 -08:00
eisa
extcon
firewire
firmware
fmc
fpga
fsi
gpio
gpu drm/amdgpu/dce: Don't turn off DP sink when disconnected 2018-03-21 12:06:43 +01:00
hid HID: elo: clear BTN_LEFT mapping 2018-03-19 08:42:47 +01:00
hsi
hv
hwmon
hwspinlock
hwtracing
i2c
ide
idle
iio iio: health: max30102: Add power enable parameter to get_temp function 2018-03-19 08:42:51 +01:00
infiniband RDMAVT: Fix synchronization around percpu_ref 2018-03-21 12:06:44 +01:00
input Input: matrix_keypad - fix race when disabling interrupts 2018-03-15 10:54:32 +01:00
iommu
ipack
irqchip irqchip/gic-v3-its: Ensure nr_ites >= nr_lpis 2018-03-21 12:06:44 +01:00
isdn
leds leds: pm8058: Silence pointer to integer size warning 2018-03-19 08:42:50 +01:00
lightnvm
macintosh
mailbox
mcb
md dm raid: fix raid set size revalidation 2018-03-19 08:42:54 +01:00
media media: davinci: vpif_capture: add NULL check on devm_kzalloc return value 2018-03-19 08:42:54 +01:00
memory
memstick
message
mfd
misc
mmc mmc: mmc_test: Ensure command queue is disabled for testing 2018-03-19 08:42:56 +01:00
mtd mtd: nand: ifc: update bufnum mask for ver >= 2.0.0 2018-03-19 08:42:50 +01:00
mux
net ipvlan: add L2 check for packets arriving via virtual devices 2018-03-19 08:42:56 +01:00
nfc
ntb
nubus
nvdimm
nvme nvme-rdma: don't suppress send completions 2018-03-08 22:41:26 -08:00
nvmem
of of_mdio: avoid MDIO bus removal when a PHY is missing 2018-03-03 10:24:37 +01:00
oprofile
parisc
parport
pci PCI: dwc: Fix enumeration end when reaching root subordinate 2018-03-15 10:54:32 +01:00
pcmcia
perf
phy
pinctrl pinctrl: sh-pfc: r8a7795-es1: Fix MOD_SEL1 bit[25:24] to 0x3 when using STP_ISEN_1_D 2018-03-19 08:42:52 +01:00
platform
pnp
power power: supply: ab8500_charger: Bail out in case of error in 'ab8500_charger_init_hw_registers()' 2018-03-19 08:42:50 +01:00
powercap
pps
ps3
ptp
pwm pwm: stmpe: Fix wrong register offset for hwpwm=2 case 2018-03-19 08:42:51 +01:00
rapidio
ras
regulator regulator: stm32-vrefbuf: fix check on ready flag 2018-03-15 10:54:28 +01:00
remoteproc
reset
rpmsg
rtc rtc: brcmstb-waketimer: fix error handling in brcmstb_waketmr_probe() 2018-03-19 08:42:49 +01:00
s390 s390/qeth: fix IPA command submission race 2018-03-08 22:41:20 -08:00
sbus
scsi scsi: megaraid_sas: Do not use 32-bit atomic request descriptor for Ventura controllers 2018-03-24 11:01:21 +01:00
sfi
sh
sn
soc
spi spi: sun6i: disable/unprepare clocks on remove 2018-03-19 08:42:53 +01:00
spmi
ssb
staging staging: android: ashmem: Fix possible deadlock in ashmem_ioctl 2018-03-24 11:01:21 +01:00
target
tc
tee
thermal
thunderbolt
tty earlycon: add reg-offset to physical address before mapping 2018-03-19 08:42:47 +01:00
uio
usb usb: dwc3: Fix GDBGFIFOSPACE_TYPE values 2018-03-21 12:06:45 +01:00
uwb
vfio vfio: disable filesystem-dax page pinning 2018-03-08 22:41:06 -08:00
vhost
video video/hdmi: Allow "empty" HDMI infoframes 2018-03-19 08:42:47 +01:00
virt
virtio virtio_ring: fix num_free handling in error case 2018-03-15 10:54:32 +01:00
vlynq
vme
w1
watchdog watchdog: hpwdt: Remove legacy NMI sourcing. 2018-03-15 10:54:22 +01:00
xen xen/gntdev: Fix partial gntdev_mmap() cleanup 2018-03-03 10:24:37 +01:00
zorro
Kconfig
Makefile