hi, On Mon, Oct 06, 2014 at 07:15:42PM +0300, Laurent Pinchart wrote: > > > +int isp1760_register(struct resource *mem, int irq, unsigned long > > > irqflags, + int rst_gpio, struct device *dev, unsigned int > > > devflags) > > > +{ > > > + struct isp1760_device *isp; > > > + int ret; > > > + > > > + if (usb_disabled()) > > > + return -ENODEV; > > > + > > > + /* prevent usb-core allocating DMA pages */ > > > + dev->dma_mask = NULL; > > > + > > > + isp = kzalloc(sizeof(*isp), GFP_KERNEL); > > > + if (!isp) > > > + return -ENOMEM; > > > + > > > + isp->rst_gpio = rst_gpio; > > > + > > > + isp->mem_start = mem->start; > > > + isp->mem_size = resource_size(mem); > > > + > > > + isp->regs = ioremap(isp->mem_start, isp->mem_size); > > > + if (!isp->regs) { > > > + ret = -EIO; > > > + goto error; > > > + } > > > > where did request_mem_region() go ? > > It's still in the glue code. isn't kinda weird that request_mem_region() is handled by glue, but relase_mem_region() isn't ? -- balbi
Attachment:
signature.asc
Description: Digital signature