From: Michal Kazior Date: Fri, 10 Apr 2015 13:01:27 +0000 (+0000) Subject: ath10k: fix error handling in pci_probe X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~230^2~34^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9585a92c79bb479040ab5ceff61d3f2b6864357;p=pandora-kernel.git ath10k: fix error handling in pci_probe 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 Signed-off-by: Kalle Valo --- Reading git-diff-tree failed