Revert "Merge pull request #20353 from timdream/input-switch-flash"

This reverts commit c0d1670ba57666210a7e7fd021ca4d9b47ab990c, reversing
changes made to 56812bb7f5234088d6802361190411cdab796868.