Minor warning/latent bug clean-up of auto-mounter logic
This commit is contained in:
parent
adbc8df0f1
commit
d547e59767
@ -198,7 +198,7 @@ config SAMA5D4EK_HSMCI0_AUTOMOUNT_FSTYPE
|
|||||||
|
|
||||||
config SAMA5D4EK_HSMCI0_AUTOMOUNT_BLKDEV
|
config SAMA5D4EK_HSMCI0_AUTOMOUNT_BLKDEV
|
||||||
string "HSMCI0 block device"
|
string "HSMCI0 block device"
|
||||||
default "/dev/mmcds0"
|
default "/dev/mmcsd0"
|
||||||
|
|
||||||
config SAMA5D4EK_HSMCI0_AUTOMOUNT_MOUNTPOINT
|
config SAMA5D4EK_HSMCI0_AUTOMOUNT_MOUNTPOINT
|
||||||
string "HSMCI0 mount point"
|
string "HSMCI0 mount point"
|
||||||
@ -227,11 +227,11 @@ config SAMA5D4EK_HSMCI1_AUTOMOUNT_FSTYPE
|
|||||||
|
|
||||||
config SAMA5D4EK_HSMCI1_AUTOMOUNT_BLKDEV
|
config SAMA5D4EK_HSMCI1_AUTOMOUNT_BLKDEV
|
||||||
string "HSMCI1 block device"
|
string "HSMCI1 block device"
|
||||||
default "/dev/mmcds0"
|
default "/dev/mmcsd1"
|
||||||
|
|
||||||
config SAMA5D4EK_HSMCI1_AUTOMOUNT_MOUNTPOINT
|
config SAMA5D4EK_HSMCI1_AUTOMOUNT_MOUNTPOINT
|
||||||
string "HSMCI1 mount point"
|
string "HSMCI1 mount point"
|
||||||
default "/mnt/sdcard0"
|
default "/mnt/sdcard1"
|
||||||
|
|
||||||
config SAMA5D4EK_HSMCI1_AUTOMOUNT_DDELAY
|
config SAMA5D4EK_HSMCI1_AUTOMOUNT_DDELAY
|
||||||
int "HSMCI1 debounce delay (milliseconds)"
|
int "HSMCI1 debounce delay (milliseconds)"
|
||||||
|
@ -240,6 +240,8 @@ static int sam_hsmci1_cardetect(int irq, void *regs)
|
|||||||
|
|
||||||
sam_automount_event(HSMCI1_SLOTNO, sam_cardinserted(HSMCI1_SLOTNO));
|
sam_automount_event(HSMCI1_SLOTNO, sam_cardinserted(HSMCI1_SLOTNO));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user