I am working on BF548 EZ KIT LITE, and the micron MT9P031 camera (with AV extebder card) . The tests are being captured and are correct as per the test suites ( horizontal bars, gradient etc) . In case the driver is not statically compiled (*) but as a module (M), in the first instance things work. After removal and again insertion, the kernel crashes. I checked up the free memory, it displays a big 30 MB free, even so with buddyinfo as well.
In simple words, the kernel crashes on a second insertion of this module. I checked up in the cleanup / exit function , it is freeing up the memory upon exit,
We need a rigid and robust system and hence such frequent operations are needed.
What could be the issue ? Any help highly appreciated