1
0
Files
linux/drivers/dma
Vinod Koul f32807f1ff dmaengine: pl08x: handle the rest of enums in pl08x_width
pl08x_width function does not handle rest of enums for DMA_SLAVE_BUSWIDTH_xxxx
which causes gcc to emit below warining

drivers/dma/amba-pl08x.c: In function 'pl08x_width':
	drivers/dma/amba-pl08x.c:1119: warning: enumeration value
	'DMA_SLAVE_BUSWIDTH_UNDEFINED' not handled in switch
	drivers/dma/amba-pl08x.c:1119: warning: enumeration value
	'DMA_SLAVE_BUSWIDTH_8_BYTES' not handled in switch

this patch adds a default case which returns error

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2011-07-26 15:33:29 +05:30
..
2011-04-06 11:51:12 +05:30
2011-06-06 13:43:59 +05:30
2011-05-18 23:24:50 +02:00
2011-03-11 17:52:36 -08:00
2011-03-31 11:26:23 -03:00
2011-06-08 15:10:44 -06:00
2011-06-08 15:10:44 -06:00
2011-03-31 11:26:23 -03:00
2011-07-14 03:32:31 +05:30
2011-01-30 22:27:21 -08:00