summaryrefslogtreecommitdiffstats
path: root/sound/drivers/ml403-ac97cr.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-02-23 13:00:51 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-05-11 14:44:52 +0300
commitc018c6738bdae8c9f49766fd3d8b3770be2572f9 (patch)
treecca221bd0afb92d5acaffad11bcad984cef90c1d /sound/drivers/ml403-ac97cr.c
parentd64f14e191310570264454998201a84d211f30aa (diff)
downloadblackbird-op-linux-c018c6738bdae8c9f49766fd3d8b3770be2572f9.tar.gz
blackbird-op-linux-c018c6738bdae8c9f49766fd3d8b3770be2572f9.zip
OMAPDSS: change default_device handling
We currently have a two ways to set a "default panel device" for dss, to which the overlays are connected when the omapdss driver is loaded: - in textual format (name of the display) as cmdline parameter - as a pointer to the panel device from board file via pdata The current code handles this in a bit too complex way by using both of the above methods during runtime. However, with DT we don't have pdata anymore, so the code handling the second case won't work anymore. The current code has also the problem that it modifies the platform_data. This patch simplifies the code a bit by using the pointer method only inside the probe function, and stores the name of the panel device. This way we only need to handle the textual format during operation and also avoid modifying the platform_data. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'sound/drivers/ml403-ac97cr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud