diff options
author | Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> | 2014-06-16 12:37:09 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-06-19 15:49:25 -0400 |
commit | 4b63261c7d203472a1670d4199ee7754d52150e9 (patch) | |
tree | ddce5f30b79e61dbb2eb08a680b1ec576fb7f84a /drivers/net/wireless/ath/wil6210/debugfs.c | |
parent | ff974e4083341383d3dd4079e52ed30f57f376f0 (diff) |
wil6210: writeable ITR registers
Interrupt threshold registers may be written to.
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/debugfs.c')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/debugfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c index 8767f4ce33f4..4cb54eb6c8fa 100644 --- a/drivers/net/wireless/ath/wil6210/debugfs.c +++ b/drivers/net/wireless/ath/wil6210/debugfs.c | |||
@@ -321,11 +321,11 @@ static int wil6210_debugfs_create_ITR_CNT(struct wil6210_priv *wil, | |||
321 | if (IS_ERR_OR_NULL(d)) | 321 | if (IS_ERR_OR_NULL(d)) |
322 | return -ENODEV; | 322 | return -ENODEV; |
323 | 323 | ||
324 | wil_debugfs_create_iomem_x32("TRSH", S_IRUGO, d, wil->csr + | 324 | wil_debugfs_create_iomem_x32("TRSH", S_IRUGO | S_IWUSR, d, wil->csr + |
325 | HOSTADDR(RGF_DMA_ITR_CNT_TRSH)); | 325 | HOSTADDR(RGF_DMA_ITR_CNT_TRSH)); |
326 | wil_debugfs_create_iomem_x32("DATA", S_IRUGO, d, wil->csr + | 326 | wil_debugfs_create_iomem_x32("DATA", S_IRUGO | S_IWUSR, d, wil->csr + |
327 | HOSTADDR(RGF_DMA_ITR_CNT_DATA)); | 327 | HOSTADDR(RGF_DMA_ITR_CNT_DATA)); |
328 | wil_debugfs_create_iomem_x32("CTL", S_IRUGO, d, wil->csr + | 328 | wil_debugfs_create_iomem_x32("CTL", S_IRUGO | S_IWUSR, d, wil->csr + |
329 | HOSTADDR(RGF_DMA_ITR_CNT_CRL)); | 329 | HOSTADDR(RGF_DMA_ITR_CNT_CRL)); |
330 | 330 | ||
331 | return 0; | 331 | return 0; |