[MTD] [NAND] Blackfin NFC Driver: do not clobber DMAC1_PERIMUX
authorMike Frysinger <vapier.adi@gmail.com>
Wed, 4 Mar 2009 20:01:29 +0000 (12:01 -0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 20 Mar 2009 12:16:24 +0000 (12:16 +0000)
commit08d2503ecc2337275942c1f52822b7a464c0c0a3
treef4a27a18a92ca62117cb1b6ba492888899796602
parent65c24491b4fef017c64e39ec64384fde5e05e0a0
[MTD] [NAND] Blackfin NFC Driver: do not clobber DMAC1_PERIMUX

Only set DMAC1_PERIMUX once we have requested and been granted the dma
channel to prevent breaking other peripherals in the error case

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/bf5xx_nand.c