Commit ea221a6a authored by manjugk manjugk's avatar manjugk manjugk Committed by Tony Lindgren

omap: DMA: Fix multi-line comments

Multi line comments are fixed as per CodingStyle
guidelines.

Cc: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: default avatarManjunatha GK <manjugk@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent ada8d4a5
...@@ -501,7 +501,8 @@ void omap_set_dma_src_burst_mode(int lch, enum omap_dma_burst_mode burst_mode) ...@@ -501,7 +501,8 @@ void omap_set_dma_src_burst_mode(int lch, enum omap_dma_burst_mode burst_mode)
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
*/ */
...@@ -510,7 +511,8 @@ void omap_set_dma_src_burst_mode(int lch, enum omap_dma_burst_mode burst_mode) ...@@ -510,7 +511,8 @@ void omap_set_dma_src_burst_mode(int lch, enum omap_dma_burst_mode burst_mode)
burst = 0x3; burst = 0x3;
break; break;
} }
/* OMAP1 don't support burst 16 /*
* OMAP1 don't support burst 16
* fall through * fall through
*/ */
default: default:
...@@ -604,7 +606,8 @@ void omap_set_dma_dest_burst_mode(int lch, enum omap_dma_burst_mode burst_mode) ...@@ -604,7 +606,8 @@ void omap_set_dma_dest_burst_mode(int lch, enum omap_dma_burst_mode burst_mode)
burst = 0x3; burst = 0x3;
break; break;
} }
/* OMAP1 don't support burst 16 /*
* OMAP1 don't support burst 16
* fall through * fall through
*/ */
default: default:
...@@ -1285,8 +1288,10 @@ int omap_request_dma_chain(int dev_id, const char *dev_name, ...@@ -1285,8 +1288,10 @@ int omap_request_dma_chain(int dev_id, const char *dev_name,
return -EINVAL; return -EINVAL;
} }
/* Allocate a queue to maintain the status of the channels /*
* in the chain */ * Allocate a queue to maintain the status of the channels
* in the chain
*/
channels = kmalloc(sizeof(*channels) * no_of_chans, GFP_KERNEL); channels = kmalloc(sizeof(*channels) * no_of_chans, GFP_KERNEL);
if (channels == NULL) { if (channels == NULL) {
printk(KERN_ERR "omap_dma: No memory for channel queue\n"); printk(KERN_ERR "omap_dma: No memory for channel queue\n");
...@@ -1915,7 +1920,8 @@ static int omap2_dma_handle_ch(int ch) ...@@ -1915,7 +1920,8 @@ static int omap2_dma_handle_ch(int ch)
printk(KERN_INFO "DMA transaction error with device %d\n", printk(KERN_INFO "DMA transaction error with device %d\n",
dma_chan[ch].dev_id); dma_chan[ch].dev_id);
if (cpu_class_is_omap2()) { if (cpu_class_is_omap2()) {
/* Errata: sDMA Channel is not disabled /*
* Errata: sDMA Channel is not disabled
* after a transaction error. So we explicitely * after a transaction error. So we explicitely
* disable the channel * disable the channel
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment