On 03/12/2012 10:45 PM, Robert Jarzmik wrote: > Hi, > > I came across a concurrent usage of my MTD driver by UBIFS by doing > an IOC_UBI_UPVOL. As my chip doesn't support multiple requests at a time, I need > to protect the access to chip registers. FYI, the nand infrastructure code handles this for its devices; see nand_base.c::nand_get_device() Mike