-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update for 5.16+ kernels #20
base: master
Are you sure you want to change the base?
Conversation
…est only if deprecated /sys/class/gpio is enabled
Not a good sign that all activity on this repo stopped in Jan 2018... some of these pull requests have been here for two years... dimich-dmb your repo is by far the most current. There are several people in the pine64 community hacking on this driver for a usb-lora adapter. Would you consider opening up issues and taking pull request from your fork? I know its a big ask, but at least you could have help and we could have a usable driver moving forward. |
Hi @UncleGrumpy. I enabled issues tracking for the forked repo. Pull requests are enabled by default, i guess. |
Fixed CS release after first chunk transferred.
Implemeted transfer_one_message() (mostly copy-pasted from the kernel). CS is managed for all transfers in a single message. A little optimization and bugfixes.
Fixed CPHA bug in bitbang implementation.
Since SCK is shared, proper SCK idle state must be set before each transfer. Since SCK is idle after tranfer, don't change it if previous transfer had same CPOL. As SCK is
Signed-off-by: Dmytro Bagrii <[email protected]>
Signed-off-by: Dmytro Bagrii <[email protected]>
Signed-off-by: Dmytro Bagrii <[email protected]>
* Fix compilation error for kernels < 6.4 * Fix installation error with DKMS * Fix dkms remove
* Include proper headers according to version * Use "new" gpiod API for export/unexport Signed-off-by: Dmytro Bagrii <[email protected]>
Fixed "no previous prototype" warnings Added disclaimer Signed-off-by: Dmytro Bagrii <[email protected]>
Trimmed trailing spaces Signed-off-by: Dmytro Bagrii <[email protected]>
Signed-off-by: Dmytro Bagrii <[email protected]>
Fixed compilation and link errors;
Adapted for gpiod usage;
Fixed interrupt handler warning.