OMAP: McBSP: Use textual values in DMA operating mode sysfs files
authorJarkko Nikula <jhnikula@gmail.com>
Mon, 24 Aug 2009 14:45:50 +0000 (17:45 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 25 Aug 2009 09:14:37 +0000 (10:14 +0100)
commit9b30050908fad96968497e73b88626056ea33c96
tree80804d58312fa77ff45723fa0113b834f5ce210d
parent9f0f4ae570a148c76be6e86c959c8d4ed912fb1f
OMAP: McBSP: Use textual values in DMA operating mode sysfs files

Use more descriptive than numerical value when showing and storing the
McBSP DMA operating mode. Show function is using similar syntax than e.g.
the led triggers so that all possible values for store function are
printed but with current value surrounded with square brackets.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Cc: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Eduardo Valentin <eduardo.valentin@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
arch/arm/plat-omap/mcbsp.c