Re: [PATCH libbsd v2] mmcsd: Don't handle multiple hardware partitions.

2020-04-01 Thread Christian Mauderer
On 01/04/2020 14:10, Sebastian Huber wrote: > On 01/04/2020 14:09, Christian Mauderer wrote: > >> On 01/04/2020 11:55, Sebastian Huber wrote: >>> On 01/04/2020 11:45, Christian Mauderer wrote: The rtems_bsd_mmcsd_attach_worker acquired the bus without releasing it. If a MMC device has mu

Re: [PATCH libbsd v2] mmcsd: Don't handle multiple hardware partitions.

2020-04-01 Thread Sebastian Huber
On 01/04/2020 14:09, Christian Mauderer wrote: On 01/04/2020 11:55, Sebastian Huber wrote: On 01/04/2020 11:45, Christian Mauderer wrote: The rtems_bsd_mmcsd_attach_worker acquired the bus without releasing it. If a MMC device has multiple hardware partitions (like eMMC which typically has at

Re: [PATCH libbsd v2] mmcsd: Don't handle multiple hardware partitions.

2020-04-01 Thread Christian Mauderer
On 01/04/2020 11:55, Sebastian Huber wrote: > On 01/04/2020 11:45, Christian Mauderer wrote: >> The rtems_bsd_mmcsd_attach_worker acquired the bus without releasing it. >> If a MMC device has multiple hardware partitions (like eMMC which >> typically has at least one boot partition) the >> rtems_bs

Re: [PATCH libbsd v2] mmcsd: Don't handle multiple hardware partitions.

2020-04-01 Thread Sebastian Huber
On 01/04/2020 11:45, Christian Mauderer wrote: The rtems_bsd_mmcsd_attach_worker acquired the bus without releasing it. If a MMC device has multiple hardware partitions (like eMMC which typically has at least one boot partition) the rtems_bsd_mmcsd_attach_worker would try to acquire the bus multi

[PATCH libbsd v2] mmcsd: Don't handle multiple hardware partitions.

2020-04-01 Thread Christian Mauderer
The rtems_bsd_mmcsd_attach_worker acquired the bus without releasing it. If a MMC device has multiple hardware partitions (like eMMC which typically has at least one boot partition) the rtems_bsd_mmcsd_attach_worker would try to acquire the bus multiple times. This doesn't work. Doing it right wou