diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-07-13 22:01:17 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-07-13 22:01:17 +0100 |
commit | 3abb7c5dd5be2ec6744bfc0a80967b20f1b59e30 (patch) | |
tree | b96e54d218a3eaa4abe6fb99c6f74b926afeab60 /docs/COPYING | |
parent | 3c4fdf10e24d54ca0f11ca35eaf614126a476bb6 (diff) |
x1000: revamp MSC driver card detection logic
Debounce logic now handles both removal and insertion and verifies
the detection is stable for 100ms before taking any action.
This solves the bootloader "file not found" issue on the Shanling Q1.
It seems a false removal event was generated, causing the filesystem
to be automatically unmounted. Probably this is due to some transient
noise at boot. Delays didn't solve the problem, probably because the
bogus hotplug event was queued, and normal mdelay() would simply delay
event delivery.
Change-Id: I8b03fb3550309f5a7ab4be0be7465a3dab2d3450
Diffstat (limited to 'docs/COPYING')
0 files changed, 0 insertions, 0 deletions