From mboxrd@z Thu Jan 1 00:00:00 1970 From: acassis@gmail.com (Alan Carvalho de Assis) Date: Thu, 14 Jan 2010 10:25:06 -0200 Subject: [PATCH] RFC: mx27: Add soc_camera support In-Reply-To: References: <1260885686-8478-1-git-send-email-acassis@gmail.com> <37367b3a0912150607v713edc32y3578fa2a0c8c61db@mail.gmail.com> <37367b3a1001040412k280f3366p4868e36f5a7f71e4@mail.gmail.com> <37367b3a1001131033u74c30ad6q8da1dbc35982e008@mail.gmail.com> Message-ID: <37367b3a1001140425g1dbb0dcfu3e771ef6d488e9e2@mail.gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Javier, On 1/14/10, javier Martin wrote: > No idea what can be causing this. Maybe I2C address is bad in board specific > code? > I don't know, I will check carefully. >> Linux video capture interface: v2.00 >> write: -5 >> MT9T31 Read register 0xFF = -5 >> Forcing mt9t031_video_probe to return OK! >> mx27-camera mx27-camera.0: initialising >> mx27-camera: probe of mx27-camera.0 failed with error -2 >> > > As far as I know, video buffers are allocated in probe() function. Maybe you > have a memory fragmentation problem and you need to move buffer allocation > to init(). > We have faced this problem many times in the past. > Hmm, great Javier, in fact it could be the issue! Thank you very much. Best Regards, Alan