ARM: OMAP2+: Only probe SDMA via ti-sysc if configured in dts
authorTony Lindgren <tony@atomide.com>
Mon, 16 Apr 2018 17:24:14 +0000 (10:24 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 30 Apr 2018 19:04:51 +0000 (12:04 -0700)
commit71941002ad140cba0ee922a2bc9f5dcf9ac70b54
tree31dd6f199d4ac5d91f43ecfdde3902e0db58ab34
parent103fd8e7ac1f5f8e332970a95c79cd32c537798a
ARM: OMAP2+: Only probe SDMA via ti-sysc if configured in dts

We still have some SDMA probing using omap_device_build() for the
arch/arm/plat-omap/dma.c part that the dmaengine driver then uses.

So we still need to ensure that omap_device_build() works even if we
probe and manage the dmaengine driver via ti-sysc. And we don't want
to call dev_pm_domain_set() as otherwise we'd also have omap_device
try to manage the hardware in addition to ti-sysc.

Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_device.c