mmccam: Unhold the periph when we add the device
Otherwise the device node aren't created. Pointy hat to: manu Reported by: bz
This commit is contained in:
parent
e910c93eea
commit
e70d59c0dd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363945
@ -1505,6 +1505,7 @@ sdda_start_init(void *context, union ccb *start_ccb)
|
||||
|
||||
softc->state = SDDA_STATE_NORMAL;
|
||||
|
||||
cam_periph_unhold(periph);
|
||||
/* MMC partitions support */
|
||||
if (mmcp->card_features & CARD_FEATURE_MMC && mmc_get_spec_vers(periph) >= 4) {
|
||||
sdda_process_mmc_partitions(periph, start_ccb);
|
||||
@ -1516,6 +1517,7 @@ sdda_start_init(void *context, union ccb *start_ccb)
|
||||
sdda_get_read_only(periph, start_ccb));
|
||||
softc->part_curr = 0;
|
||||
}
|
||||
cam_periph_hold(periph, PRIBIO|PCATCH);
|
||||
|
||||
xpt_announce_periph(periph, softc->card_id_string);
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user