Skip to content

Commit

Permalink
mt7603: fix MT_AGG_ARxCR macro definition
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
  • Loading branch information
LorenzoBianconi authored and nbd168 committed Jun 12, 2017
1 parent ef5b045 commit e287efe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mt7603_regs.h
Expand Up @@ -155,8 +155,8 @@

#define MT_AGG_ARUCR MT_WF_AGG(0x014)
#define MT_AGG_ARDCR MT_WF_AGG(0x018)
#define MT_AGG_ARxCR_LIMIT_SHIFT(_n) (3 * _n)
#define MT_AGG_ARxCR_LIMIT(_n) GENMASK(3 + MT_AGG_ARxCR_LIMIT_SHIFT(_n), \
#define MT_AGG_ARxCR_LIMIT_SHIFT(_n) (4 * _n)
#define MT_AGG_ARxCR_LIMIT(_n) GENMASK(2 + MT_AGG_ARxCR_LIMIT_SHIFT(_n), \
MT_AGG_ARxCR_LIMIT_SHIFT(_n))

#define MT_AGG_LIMIT MT_WF_AGG(0x040)
Expand Down

0 comments on commit e287efe

Please sign in to comment.