Re: [RFC v3 21/21] omap3isp: Don't rely on devm for memory resource management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 15 Dec 2016 13:45:25 Sakari Ailus wrote:
> Hi Laurent,
> 
> On 12/15/16 13:42, Laurent Pinchart wrote:
> > You can split that part out. The devm_* removal is independent and could
> > be moved to the beginning of the series.
> 
> Where do you release the memory in that case? In driver's remove(), i.e.
> this patch would simply move that code to isp_remove()?

Yes, the kfree() calls would be in isp_remove(). The patch will then be 
faithful to its $SUBJECT, and moving to a release() handler should be done in 
a separate patch.

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux