Re: [PATCH 2/2] mmc: core: Drop reference counting of the bus_ops

2021-02-16 Thread Adrian Hunter
On 12/02/21 3:16 pm, Ulf Hansson wrote: > When the mmc_rescan work is enabled for execution (host->rescan_disable), > it's the only instance per mmc host that is allowed to set/clear the > host->bus_ops pointer. > > Besides the mmc_rescan work, there are a couple of scenarios when the >

[PATCH 2/2] mmc: core: Drop reference counting of the bus_ops

2021-02-12 Thread Ulf Hansson
When the mmc_rescan work is enabled for execution (host->rescan_disable), it's the only instance per mmc host that is allowed to set/clear the host->bus_ops pointer. Besides the mmc_rescan work, there are a couple of scenarios when the host->bus_ops pointer may be accessed. Typically, those can