Is it possible to change from 32-bit to 16-bit access the "copyt_to_user"?
I'm developing a Linux driver that read/write to fpga.
(fpga has been connected by a 16-bit bus.fpga is 16-bit bus)
Using the copy_to_user function in this driver, the data that is read from fpga is a mistake.
However, read is successful when I copy by 2byte(16-bit).
I thought copy_to_user is 32-bit access only.