Hi! > > >> + > > >> +static int isp_of_parse_node_endpoint(struct device *dev, > > >> + struct device_node *node, > > >> + struct isp_async_subdev *isd) > > >> +{ > > >> + struct isp_bus_cfg *buscfg; > > >> + struct v4l2_of_endpoint vep; > > >> + int ret; > > >> + > > >> + isd->bus = devm_kzalloc(dev, sizeof(*isd->bus), GFP_KERNEL); > > > > > > Why do you now need to allocate this manually ? > > > > bus is now a pointer. > > I've seen that, but why have you changed it ? subdev support. Needs to go into separate patch. Will be done shortly. > > >> +++ b/drivers/media/platform/omap3isp/ispccp2.c > > >> @@ -160,6 +163,33 @@ static int ccp2_if_enable(struct isp_ccp2_device > > >> *ccp2, u8 enable) return ret; > > >> > > >> } > > >> > > >> + if (isp->revision == ISP_REVISION_2_0) { > > > > > > The isp_csiphy.c code checks phy->isp->phy_type for the same purpose, > > > shouldn't you use that too ? > > > > Do you want me to do phy->isp->phy_type == ISP_PHY_TYPE_3430 check > > here? Can do... > > Yes that's what I meant. Ok, that's something I can do. But code is still somewhat "interesting". Code in omap3isp_csiphy_acquire() assumes csi2, and I don't need most of it.. so I'll just not use it, but it looks strange. I'll post new patch shortly. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
signature.asc
Description: Digital signature