i use the imx6sllevk.
i tap the follow contents by shell.
cd /sys/class/tty/ttymxc0/power
echo enabled > wakeup
cd /sys/class/tty/ttymxc1/power
echo enabled > wakeup
cd /sys/power
echo mem > state
the system can go into the sleep mode.
but the whole process going into the sleep mode takes 80ms .
during this time if i sent data to bsp by ttymxc1, it can not stop going to the sleep mode.
i consider wakeup_count can resolve the problem.
how to set it or any other way can stop it?
pls give me advice.