mtd: denali: fix incorrect bitmask error in denali_setup_dma
authorGraham Moore <grmoore@opensource.altera.com>
Fri, 9 Jan 2015 15:32:35 +0000 (09:32 -0600)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 13 Jan 2015 10:32:08 +0000 (02:32 -0800)
commit7c272ac5eefb329501aadbd9f21f86232c0f66a9
treeed1d03596e60e14effee3690ef9021bce0b95daf
parenta9b679bfd2820f59a0d914dad148f1fb09d3084a
mtd: denali: fix incorrect bitmask error in denali_setup_dma

commit 3157d1ed2309 ("mtd: denali: remove unnecessary casts") introduced
an error by using a wrong bitmask.

A uint16_t cast was replaced with & 0xff, should be & 0xffff.

Signed-off-by: Graham Moore <grmoore@opensource.altera.com>
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/denali.c
This page took 0.025679 seconds and 5 git commands to generate.