问答

汇集网友智慧,解决技术难题

偷影子的人1

TA的家园币:25  

  • 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会生效,他生效代表什么意思

    内核 driver mx pen I2c core

    2021-04-14 0