Skip to content
Snippets Groups Projects
Commit b12f693b authored by Manish Kumar Sharma's avatar Manish Kumar Sharma Committed by Gregory Nutt
Browse files

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

parent 3cd41b04
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment