driver/kmd/armchina-aipu/aipu.c
/**
 * @armchina_aipu_resume() - resume operation for platfom driver provided by ArmChina
 * @p_dev: pointer to the AIPU platform device struct.
 *
 * This function enables the AIPU clock from SoC level with the enable_clk method
 * registered in SoC probing, and enable AIPU interrupts. SoC vendor should directly
 * register this function to the platfom_driver struct, or implements its private
 * xx_aipu_resume() calls this function.
 */
@armchina_aipu_resume() - resume operation for platfom driver provided by ArmChina
@p_dev: pointer to the AIPU platform device struct.

This function enables the AIPU clock from SoC level with the enable_clk method
registered in SoC probing, and enable AIPU interrupts. SoC vendor should directly
register this function to the platfom_driver struct, or implements its private
xx_aipu_resume() calls this function.
@armchina_aipu_resume () - resume operation for platfom driver provided by ArmChina @p_dev : pointer to the AIPU platform device struct . This function enables the AIPU clock from SoC level with the enable_clk method registered in SoC probing and enable AIPU interrupts . SoC vendor should directly register this function to the platfom_driver struct or implements its private xx_aipu_resume () calls this function .
int armchina_aipu_resume(struct platform_device *p_dev)
{
	struct aipu_core *core = platform_get_drvdata(p_dev);
	if (aipu && aipu->soc_ops && aipu->soc_ops->enable_clk)
		aipu->soc_ops->enable_clk(core->dev, aipu->soc);
	core->ops->enable_interrupt(core);
	return 0;
}
int armchina_aipu_resume ( struct platform_device * p_dev ) { struct aipu_core * core = platform_get_drvdata ( p_dev ) ; if ( aipu && aipu -> soc_ops && aipu -> soc_ops -> enable_clk ) aipu -> soc_ops -> enable_clk ( core -> dev , aipu -> soc ) ; core -> ops -> enable_interrupt ( core ) ; return 0 ; }
@armchina_aipu_resume() - resume operation for platfom driver provided by ArmChina
 @p_dev: pointer to the AIPU platform device struct.
@armchina_aipu_resume () - resume operation for platfom driver provided by ArmChina @p_dev : pointer to the AIPU platform device struct .