From: Michael Zoran Date: Sun, 29 Jan 2017 14:39:09 +0000 (-0800) Subject: staging: bcm2835-audio: Add TODO list X-Git-Tag: v4.11-rc1~116^2~229 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c07499d631496807b224c5619b16c878d85b158;p=platform%2Fkernel%2Flinux-exynos.git staging: bcm2835-audio: Add TODO list Add a TODO list of possible cleanup items. Signed-off-by: Michael Zoran Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/bcm2835-audio/TODO b/drivers/staging/bcm2835-audio/TODO new file mode 100644 index 0000000..73d41fa --- /dev/null +++ b/drivers/staging/bcm2835-audio/TODO @@ -0,0 +1,29 @@ +***************************************************************************** +* * +* TODO: BCM2835-AUDIO * +* * +***************************************************************************** + + +1) Document the device tree node + +The downstream tree(the tree that the driver was imported from) at +http://www.github.com/raspberrypi/linux uses this node: + +audio: audio { + compatible = "brcm,bcm2835-audio"; + brcm,pwm-channels = <8>; +}; + +Since the driver requires the use of VCHIQ, it may be useful to have a link +in the device tree to the VCHIQ driver. + +2) Gracefully handle the case where VCHIQ is missing from the device tree or +it has not been initialized yet. + +3) Review error handling and remove duplicate code. + +4) Cleanup the logging mechanism. The driver should probably be using the +standard kernel logging mechanisms such as dev_info, dev_dbg, and friends. + +5) Fix the remaining checkpatch.pl errors and warnings.