Message ID | 20180504101631.GA7496@casa (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, 4 May 2018, Rodrigo Rivas Costa wrote: > > If noone has any objections (last chance to raise them), I'll be > > queuing this for 4.18. > > That would be great, thanks! > > Now that my distro upgraded to 4.16, without the hid-quirks array, I've been > testing it a bit more. > > It works great, but I've noticed that I've missed a couple of lines when > creating the client hdev. It doesn't seem to cause any harm, and anyway 'type' > and 'country' are currently both 0 in my controller; only 'version' is visibly > different but who uses that? > > Anyway, this would be the change, I don't know if it is worth a whole reroll... I've put this on top of your patches and queued in for-4.18/hid-steam. Thanks,
diff --git a/drivers/hid/hid-steam.c b/drivers/hid/hid-steam.c index af7ebb618867..cb86cc834201 100644 --- a/drivers/hid/hid-steam.c +++ b/drivers/hid/hid-steam.c @@ -651,6 +651,9 @@ static struct hid_device *steam_create_client_hid(struct hid_device *hdev) client_hdev->bus = hdev->bus; client_hdev->vendor = hdev->vendor; client_hdev->product = hdev->product; + client_hdev->version = hdev->version; + client_hdev->type = hdev->type; + client_hdev->country = hdev->country; strlcpy(client_hdev->name, hdev->name, sizeof(client_hdev->name)); strlcpy(client_hdev->phys, hdev->phys,