ath9k_hw: Fix number of GPIO pins for AR9287/9300
commite4779966c769188b76ee699e0ab476030b2d2e6a
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Fri, 30 Sep 2011 06:01:27 +0000 (30 11:31 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:35:44 +0000 (11 09:35 -0800)
tree7cc4d1117ee1c44bd844ba313eee71607dcfcfd3
parent7ff861f96140c2dc6411deafb281dbfe958324d9
ath9k_hw: Fix number of GPIO pins for AR9287/9300

commit 6321eb0977b011ac61dfca36e7c69b2c4325b104 upstream.

this patch fixes the assumption of maximum number of GPIO pins present
in AR9287/AR9300. this fix is essential as we might encounter some
functionality issues involved in accessing the status of GPIO pins which
are all incorrectly assumed to be not within the range of max_num_gpio
of AR9300/AR9287 chipsets

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/hw.c