[PATCH 2/7] usb: serial: mos7720: don't advertise PARPORT_MODE_PCSPP

Alex Henrie
2024-03-12T05:56:13Z

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
drivers/usb/serial/mos7720.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c
index 23544074eb1c..0e97def80e19 100644
--- a/drivers/usb/serial/mos7720.c
+++ b/drivers/usb/serial/mos7720.c
@@ -589,7 +589,7 @@ static int mos7715_parport_init(struct usb_serial *serial)
return -EIO;
}
mos_parport->pp->private_data = mos_parport;
- mos_parport->pp->modes = PARPORT_MODE_COMPAT | PARPORT_MODE_PCSPP;
+ mos_parport->pp->modes = PARPORT_MODE_COMPAT;
mos_parport->pp->dev = &serial->interface->dev;
parport_announce_port(mos_parport->pp);

--
2.44.0