bus: ti-sysc: Fix using configured sysc mask value
authorTony Lindgren <tony@atomide.com>
Mon, 22 Jul 2019 10:44:52 +0000 (03:44 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 24 Jul 2019 07:50:01 +0000 (00:50 -0700)
commite212abd452a4af3174fcd469d46656f83e135a19
tree63622c17033e4ad464c49a222aab6584a255d0aa
parent6ee8241d17c68b94a91efabfd6bdfe63bb1b79c1
bus: ti-sysc: Fix using configured sysc mask value

We have cases where there are no softreset bits like with am335x lcdc.
In that case ti,sysc-mask = <0> needs to be handled properly.

Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c