Messages in this thread | | | Date | Sun, 21 Apr 2013 20:22:40 -0500 | From | Jon Hunter <> | Subject | Re: [PATCH 2/2] dma:of: Use a mutex to protect the of_dma_list |
| |
On 04/19/2013 06:13 PM, Arnd Bergmann wrote: > On Saturday 20 April 2013, Jon Hunter wrote: >> Change also means that of_dma_request_slave_channel() cannot be called >> from a context where it is not possible to sleep too, right? May be >> worth mentioning this in the changelog as well. > > You already cannot do that, because it requires dma_list_mutex.
Right in the case where you use of_dma_simple_xlate(). However, someone could implement whatever they wanted for the xlate. Probably not likely as it needs to return struct dma_chan, but could be possible. That's all. Not a big deal.
Cheers Jon
| |