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

Commit e462dff4 authored by Elson Roy Serrao's avatar Elson Roy Serrao
Browse files

usb: gsi: Dont mask read api for dpl_ctl node



Commit ("1fc901db usb: gsi: Mask the read/write apis for
dpl_ctrl node") masked gsi_ctrl_dev_read() API for DPL
interface which results into dpl daemon not receiving any
USB cable status change notification using ZLP packet.
Hence dont mask read api for dpl_ctl node.

Change-Id: I3f283d0e0108cc36b1fa0f7a53ab52e8e02962ef
Signed-off-by: default avatarElson Roy Serrao <eserrao@codeaurora.org>
parent 02974df6
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1263,9 +1263,6 @@ gsi_ctrl_dev_read(struct file *fp, char __user *buf, size_t count, loff_t *pos)
	unsigned long flags;
	int ret = 0;

	if (prot_id == IPA_USB_DIAG)
		return -EINVAL;

	pr_debug("%s: Enter %zu", __func__, count);

	mutex_lock(&inst_cur->gsi_lock);