Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6090b473 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "CHROMIUM: usb: gadget: f_accessory: add .raw_request callback"

parents 84549f61 b0346f26
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -448,12 +448,19 @@ static void acc_hid_close(struct hid_device *hid)
{
}

static int acc_hid_raw_request(struct hid_device *hid, unsigned char reportnum,
	__u8 *buf, size_t len, unsigned char rtype, int reqtype)
{
	return 0;
}

static struct hid_ll_driver acc_hid_ll_driver = {
	.parse = acc_hid_parse,
	.start = acc_hid_start,
	.stop = acc_hid_stop,
	.open = acc_hid_open,
	.close = acc_hid_close,
	.raw_request = acc_hid_raw_request,
};

static struct acc_hid_dev *acc_hid_new(struct acc_dev *dev,