]> git.baikalelectronics.ru Git - kernel.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)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 3 Oct 2011 19:22:42 +0000 (15:22 -0400)
commit7fe416cb80df0e46a88ec829bc6138d254200df7
treec3b5cca771c9b76139599192cc30eabc121b67b6
parente13edc326dc46b02c77451a7c7bf8f6f58e29e30
ath9k_hw: Fix number of GPIO pins for AR9287/9300

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

Cc: stable@kernel.org
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c