I am facing strange issue. I designed the kernel driver which implements open, close and write. When I perform
echo something > /dev/mydevice
the write
call of the driver is being called in loop with the same data. At the end of write function I return 0.
The cause and solution must be trivial, but I do not see it.