]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ath9k_hw: Fix number of GPIO pins for AR9287/9300
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Fri, 30 Sep 2011 06:01:27 +0000 (11:31 +0530)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:17:50 +0000 (11:17 -0800)
commit3ac335df10ebf8c98cb9aa64a606386c58287926
treeaad63a6c20e12775a651a6bc40a28d1e254b9a86
parent413d378f49a12058864813f00d1b86b44c483356
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