Hi,

I was trying out the linux-next kernel, and I noticed that DSS MODULEMODE bits are never cleared.

In _omap4_disable_module(), there is a check:

        ...

        if (!_are_all_hardreset_lines_asserted(oh))
                return 0;

        /* MODULEMODE bits cleared here */
        ...
        ...
        ...

The function _are_all_hardreset_lines_asserted() returns false if 'oh->rst_lines_cnt == 0', so we bail out from _omap4_disable_module() before clearing the MODULEMODE bits.

Is this correct behavior? This would prevent all hwmods who have rst_lines_cnt as 0 to not get their MODULEMODE bits cleared.

Thanks,
Archit
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to