Closed clivem closed 8 years ago
Jurgen,
Not sure if the driver is working or not, but to get it to build on 3.20/4.0 ....
--- a/firmware.c.orig 2015-03-04 09:30:16.000000000 +0000 +++ b/firmware.c 2015-03-04 09:59:52.736332439 +0000 @@ -314,7 +314,11 @@ while (c != end) { for (i = 0; c != end && i < FPGA_BUFSIZE; i++, c++) +#ifdef CONFIG_HAVE_ARCH_BITREVERSE + buffer[i] = bitrev8((u8) *c); +#else buffer[i] = byte_rev_table[(u8) *c]; +#endif ret = mytek_fw_fpga_write(device, buffer, i); if (ret < 0) {
Thanks, I bit late. I hardly use the Mytek nowadays.
Jurgen,
Not sure if the driver is working or not, but to get it to build on 3.20/4.0 ....