You've already forked archr-joypad
mirror of
https://github.com/archr-linux/archr-joypad.git
synced 2026-07-12 18:19:48 -07:00
Add odroidgo3-joypad compatible for backward compatibility
DTS files use 'odroidgo3-joypad' as compatible string but the driver only accepted 'archr-joypad'. This caused the driver to not probe on boards where the overlay doesn't change the compatible, leaving PWM0 uncontrolled and the vibration motor running continuously. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -639,6 +639,7 @@ static int joypad_probe(struct platform_device *pdev)
|
||||
/*----------------------------------------------------------------------------*/
|
||||
static const struct of_device_id joypad_of_match[] = {
|
||||
{ .compatible = "archr-joypad", },
|
||||
{ .compatible = "odroidgo3-joypad", },
|
||||
{},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user