[PATCH] ath10k: fix error handling in pci_probe

Kalle Valo kvalo at qca.qualcomm.com
Thu Apr 16 23:33:21 PDT 2015


Michal Kazior <michal.kazior at tieto.com> writes:

> If chip_id wasn't recognized clean up code wasn't
> executed properly. It would skip freeing memory
> causing a leak and irqs causing possibly MSI
> warning splats later or even kernel crashes.
>
> Fixes: 1a7fecb766c8 ("ath10k: reset chip before reading chip_id in probe")
> Signed-off-by: Michal Kazior <michal.kazior at tieto.com>

Thanks, applied.

-- 
Kalle Valo



More information about the ath10k mailing list