-
imx6 driver->suspend
imx6在使用时,编译的内核发现i2c系统好像没起来,内核部分打印信息如下mc_pfuze1-0008:recvfailed!:-5,80mc_pfuze:probeof1-0008failedwitherror-1上两句好像是电源问题i2c-core:driverusinglegacysuspendmethodi2c-core:driverusinglegacyresumemethod查了i2c-core源码如下if(driver->suspend)pr_warn("i2c-core:driver[%s]usinglegacysuspendmethod\n",driver->driver.name);if(driver->resume)pr_warn("i2c-core:driver[%s]usinglegacyresumemethod\n",driver->driver.name);想问一下什么情况下这个driver->suspend、driver->resume会生效,他生效代表什么意思
2021-04-14 0