Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1412409

Re: ath9k gpio request

From Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Newsgroups linux.kernel
Subject Re: ath9k gpio request
Date 2016-06-02 18:20 +0200
Message-ID <rFDvI-87Q-9@gated-at.bofh.it> (permalink)
References (1 earlier) <rEAgx-7Wk-11@gated-at.bofh.it> <rF8id-51y-13@gated-at.bofh.it> <rF8id-51y-11@gated-at.bofh.it> <rFvRw-3oj-13@gated-at.bofh.it> <rFvRw-3oj-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thursday 02 June 2016 01:32 PM, Pan, Miaoqing wrote:
> Seems there are something wrong in the datasheet,  try
>
> --- a/drivers/net/wireless/ath/ath9k/reg.h
> +++ b/drivers/net/wireless/ath/ath9k/reg.h
> @@ -1122,8 +1122,8 @@ enum {
>   #define AR9300_NUM_GPIO                          16
>   #define AR9330_NUM_GPIO                                 16
>   #define AR9340_NUM_GPIO                                 23
> -#define AR9462_NUM_GPIO                                 10
> -#define AR9485_NUM_GPIO                                 12
> +#define AR9462_NUM_GPIO                                 14
> +#define AR9485_NUM_GPIO                                 11
>   #define AR9531_NUM_GPIO                                 18
>   #define AR9550_NUM_GPIO                                 24
>   #define AR9561_NUM_GPIO                                 23
> @@ -1139,8 +1139,8 @@ enum {
>   #define AR9300_GPIO_MASK                        0x0000F4FF
>   #define AR9330_GPIO_MASK                        0x0000F4FF
>   #define AR9340_GPIO_MASK                        0x0000000F
> -#define AR9462_GPIO_MASK                        0x000003FF
> -#define AR9485_GPIO_MASK                        0x00000FFF
> +#define AR9462_GPIO_MASK                        0x00003FFF
> +#define AR9485_GPIO_MASK                        0x000007FF
>   #define AR9531_GPIO_MASK                        0x0000000F
>   #define AR9550_GPIO_MASK                        0x0000000F
>   #define AR9561_GPIO_MASK                        0x0000000F

solves the problem.

Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>

Regards
Sudip

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: ath9k gpio request "Pan, Miaoqing" <miaoqing@qti.qualcomm.com> - 2016-06-01 09:00 +0200
  Re: ath9k gpio request Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-06-01 17:50 +0200
  Re: ath9k gpio request "Pan, Miaoqing" <miaoqing@qti.qualcomm.com> - 2016-06-02 10:10 +0200
    Re: ath9k gpio request Janusz Dziedzic <janusz.dziedzic@tieto.com> - 2016-06-02 11:10 +0200
    Re: ath9k gpio request Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-06-02 18:20 +0200
      Re: ath9k gpio request Kalle Valo <kvalo@codeaurora.org> - 2016-06-03 07:40 +0200
        Re: ath9k gpio request "Pan, Miaoqing" <miaoqing@qti.qualcomm.com> - 2016-06-03 07:50 +0200
          Re: ath9k gpio request Kalle Valo <kvalo@codeaurora.org> - 2016-06-04 16:40 +0200
            Re: ath9k gpio request Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-06-05 19:50 +0200
              Re: ath9k gpio request Kalle Valo <kvalo@codeaurora.org> - 2016-06-07 13:50 +0200
            RE: ath9k gpio request "Pan, Miaoqing" <miaoqing@qti.qualcomm.com> - 2016-06-06 04:00 +0200

csiph-web