/* Force the module into slave idle and master suspend. No return value.  */
static void _sysc_shutdown(struct omap_hwmod *oh)
/* Force the module into slave idle and master suspend. No return value.  */
static void _sysc_shutdown(struct omap_hwmod *oh)
{
	u32 v;
	if (!oh->sysconfig)
		return;
	v = oh->_sysc_cache;
	if (oh->sysconfig->sysc_flags & SYSC_HAS_SIDLEMODE)
		_set_slave_idlemode(oh, HWMOD_IDLEMODE_FORCE, &v);
	if (oh->sysconfig->sysc_flags & SYSC_HAS_MIDLEMODE)
		_set_master_standbymode(oh, HWMOD_IDLEMODE_FORCE, &v);
	if (oh->sysconfig->sysc_flags & SYSC_HAS_AUTOIDLE)
		_set_module_autoidle(oh, 1, &v);
	_write_sysconfig(v, oh);
}