Re: [PATCH] platform/x86: toshiba_acpi: Set correct parent for input device.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 9/11/22 20:31, Arvid Norlander wrote:
> This solves the input device showing up as a virtual device.
> 
> Signed-off-by: Arvid Norlander <lkml@xxxxxxxxx>

Thank you for your patch, I've applied this patch to my review-hans 
branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in my review-hans branch once I've pushed my
local branch there, which might take a while.

Once I've run some tests on this branch the patches there will be
added to the platform-drivers-x86/for-next branch and eventually
will be included in the pdx86 pull-request to Linus for the next
merge-window.

Regards,

Hans


> ---
>  drivers/platform/x86/toshiba_acpi.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c
> index 3227a5f57633..9f1394b73895 100644
> --- a/drivers/platform/x86/toshiba_acpi.c
> +++ b/drivers/platform/x86/toshiba_acpi.c
> @@ -2883,6 +2883,7 @@ static int toshiba_acpi_setup_keyboard(struct toshiba_acpi_dev *dev)
>  	dev->hotkey_dev->name = "Toshiba input device";
>  	dev->hotkey_dev->phys = "toshiba_acpi/input0";
>  	dev->hotkey_dev->id.bustype = BUS_HOST;
> +	dev->hotkey_dev->dev.parent = &dev->acpi_dev->dev;
>  
>  	if (dev->hotkey_event_type == HCI_SYSTEM_TYPE1 ||
>  	    !dev->kbd_function_keys_supported)




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux