"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "arch/arm/plat-omap/dma.c" between
linux-5.3-rc3.tar.gz and linux-5.3-rc4.tar.gz

About: The full source of the development Linux kernel 5.3 (release candidate).

dma.c  (linux-5.3-rc3):dma.c  (linux-5.3-rc4)
skipping to change at line 391 skipping to change at line 391
burst = 0x2; burst = 0x2;
break; break;
case OMAP_DMA_DATA_BURST_8: case OMAP_DMA_DATA_BURST_8:
if (dma_omap2plus()) { if (dma_omap2plus()) {
burst = 0x2; burst = 0x2;
break; break;
} }
/* /*
* not supported by current hardware on OMAP1 * not supported by current hardware on OMAP1
* w |= (0x03 << 7); * w |= (0x03 << 7);
* fall through
*/ */
/* fall through */
case OMAP_DMA_DATA_BURST_16: case OMAP_DMA_DATA_BURST_16:
if (dma_omap2plus()) { if (dma_omap2plus()) {
burst = 0x3; burst = 0x3;
break; break;
} }
/* /* OMAP1 don't support burst 16 */
* OMAP1 don't support burst 16 /* fall through */
* fall through
*/
default: default:
BUG(); BUG();
} }
l |= (burst << 7); l |= (burst << 7);
p->dma_write(l, CSDP, lch); p->dma_write(l, CSDP, lch);
} }
EXPORT_SYMBOL(omap_set_dma_src_burst_mode); EXPORT_SYMBOL(omap_set_dma_src_burst_mode);
/* Note that dest_port is only for OMAP1 */ /* Note that dest_port is only for OMAP1 */
skipping to change at line 477 skipping to change at line 475
if (dma_omap2plus()) if (dma_omap2plus())
burst = 0x2; burst = 0x2;
else else
burst = 0x3; burst = 0x3;
break; break;
case OMAP_DMA_DATA_BURST_16: case OMAP_DMA_DATA_BURST_16:
if (dma_omap2plus()) { if (dma_omap2plus()) {
burst = 0x3; burst = 0x3;
break; break;
} }
/* /* OMAP1 don't support burst 16 */
* OMAP1 don't support burst 16 /* fall through */
* fall through
*/
default: default:
printk(KERN_ERR "Invalid DMA burst mode\n"); printk(KERN_ERR "Invalid DMA burst mode\n");
BUG(); BUG();
return; return;
} }
l |= (burst << 14); l |= (burst << 14);
p->dma_write(l, CSDP, lch); p->dma_write(l, CSDP, lch);
} }
EXPORT_SYMBOL(omap_set_dma_dest_burst_mode); EXPORT_SYMBOL(omap_set_dma_dest_burst_mode);
 End of changes. 4 change blocks. 
9 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)