arch/arm/src/samv7: Correct an error in RX DMA setup.

This commit is contained in:
Manish Kumar Sharma 2017-10-11 10:54:02 -06:00 committed by Gregory Nutt
parent 3cd41b0408
commit b12f693b8b

View File

@ -981,7 +981,7 @@ static inline uint32_t sam_rxcc(struct sam_xdmach_s *xdmach)
/* Look up the DMA channel code for RX: Peripheral is the source. */
field = sam_source_channel(xdmach, pid);
regval |= (field << XDMACH_CC_CSIZE_SHIFT);
regval |= (field << XDMACH_CC_PERID_SHIFT);
#if 0 /* Not supported */
/* 10. Set SWREQ to use software request (only relevant for a