irq come after suspend
来源:互联网 发布:四六级模拟题软件 编辑:程序博客网 时间:2024/06/05 15:39
防止中断来后访问掉电的设备。
staticint xx_runtime_suspend(struct device*dev)
{
drvdata->xx_suspended= 1;
disable_irq(pdev->irq);
}
staticint xx_runtime_resume(struct device*dev)
{
drvdata->xx_suspended=0;
enable_irq(pdev->irq);
}
staticintsep_resume(struct device*dev)
{
drvdata->xx_suspended=0;
enable_irq(pdev->irq);
}
staticint sep_suspend(struct device*dev)
{
drvdata->xx_suspended= 1;
disable_irq(pdev->irq);
}
- irq come after suspend
- [知其然不知其所以然-27] throttling after resume from suspend
- IRQ
- irq
- irq
- Come
- COME
- come
- come
- request of blkfront may disorder after migration without waiting in suspend phase of migration
- after
- :after??
- :after
- IRQ设置
- 什么是IRQ
- 关于IRQ
- Linux IRQ
- vetored irq
- IBM Rational Appscan使用之扫描结果分析
- 闹钟BUG-到7月24号(30个)
- jquery 可见元素
- Believe me I can fly, Believe me I can touch sky (2)
- 启动之OS_CPU_C
- irq come after suspend
- C语言中volatile关键字的作用
- 华为将反击竞争对手:我们不会对它们友好
- linux 下 ssh客户端 连接远程服务器
- 例题6.3
- 打车APP加价惹争议 政府责令清除
- feiq发送消息对方已下线
- UML解惑:图说UML中的六大关系
- ASP.NET中的资源文件