clk: qcom: clk-cpu-osm: Update logic to check if OSMs been enabled in TZ

On SDM845v2, the OSM_ENABLE register has a new WDOG_DEBUG_EN bit
that's set by default. This breaks the logic in the OSM driver
code which assumes that the ENABLE_OSM bit is the only one that's
set in that register. Fix this.

Change-Id: I5c7925aa248f34f3308259446708b262f4a80f4a
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
1 file changed