From nobody Mon Feb 9 05:25:03 2026 Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 45E18171E69 for ; Wed, 7 Aug 2024 11:58:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723031902; cv=none; b=LHsU2BfxFMY6T6QfwJLv6BlCckiS37fhHi0mrWt7qTEYckyDibOcajRNzS6oIsCsemaoakjYNgYuzm55EJ7K7QkcJ8U8sN/zeM5n/N8OtfwyjoEte0Su+k3p1ggg+z4qTOjvIbQlvTcYSDcQQMVsSqN+TlurO3QzmHnJrfzSiuk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723031902; c=relaxed/simple; bh=C0WfsFjQ+8vm0W8joRCkaLKnopigm0TpDNtG9k6jpMU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iDzdPwm8i/JLuCmteMM7hD4uhYLdpltJK4oSaqmgLt+GqQBlc4+51cvOdFyVKqJaL8zjSlVHy6SKJ0diBVSNY+MMbQGUEHmls1x1ybLpqY18qFeTJFrngcUtqTvHGq2L3GdoM57wANAuXsnRDoW8KoOkVZnofwCINGCA4srdfhE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=k2eSwrGT; arc=none smtp.client-ip=209.85.218.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="k2eSwrGT" Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a728f74c23dso202229266b.1 for ; Wed, 07 Aug 2024 04:58:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723031899; x=1723636699; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=CMjvgficlM8E7OFHsCNQI4tsZ98VKn4/e3uEzM8rqJg=; b=k2eSwrGT4N10qW1QpzRMc4fNJ+UOskao7bA0kjY4HGQynu6b4FfP9Y/pCdZ9vejS3n UhZSueJakcbj9bE5EZYA3ZZ1S0c6B4xPsuLI0WySCC3wp5JaCLgzXNELHzcFW15pKE+2 /dugAdewdcCbuOI9A5awbaWyxbhmuoA/bpAw0ZDs/szv/meJL5WtrkK60IJwSPJWciHM pu+CduJsxt3RGbnNUhMHP8dMK6TyxECk+xxei8nT/cq58QArjnn+MmcrLXo/MSbN07Da dh5ZOqxBabsm/rXLxhanXBQHJfsy5EmqG898G4ZKT+u8ZYKHFVdj7nnbUCK2YT3QG2Ps CxSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723031899; x=1723636699; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CMjvgficlM8E7OFHsCNQI4tsZ98VKn4/e3uEzM8rqJg=; b=HbD2gDbuz8sMJ2ckXIlUVgCgwXW3/vYYbVoW6fdZeWvNtwDW0W2oS9Hn2n60CZZFYm O3laJ0/BLDA9JgksoUJCzzkFvrcN0bopeS9gHFceW+omVQ3xfDiYSpuk4Rw21PTBXC/U MhlVwPYP4ZVgJyebbj/YYMYTSKQ3+2dZ7TWCK8ef4Awfbdbo64zr7NZPkrAElBicbJZ/ EOiLLNP9FUlYM2jw6eXfbCllB0JXEqGCbze1OMYfCvvCE97gf8n4JCnFyspA+ivu32up T+F228OnRxx7+wa61+WEazmRcnTxLlobfgxDLmeQp8iDi6lFCh/sw7v9FMRDbLeV0knM 0ZlA== X-Forwarded-Encrypted: i=1; AJvYcCVmBjfpow//IhDcSR7O10YFzeOpEO0otBEp369xjo+omxe1eIuJBXQW0nNH1VL+srb2PtLtuqrU9rYfOG1QF1sNx7HH/UQqr3nhet3C X-Gm-Message-State: AOJu0YwmOz/275vIW0Pii18WtMt26b+RVz267gwOWifA9m7gA4NXnxq5 ME20RIL9DIOseF5gdiOj/G0VATuThX7hL3nosYNbu2/SxzNrkuZl16MEWCtVNaM= X-Google-Smtp-Source: AGHT+IFX/mnj8z/gOU4S/Qjsm2FR4qQxyCrhiZEmvGKW7LyZfNdC7JaX0Q3SxwF74ucLtHDokfAeBQ== X-Received: by 2002:a17:907:1c19:b0:a6f:4fc8:2666 with SMTP id a640c23a62f3a-a7dc506ce86mr1394858366b.44.1723031898724; Wed, 07 Aug 2024 04:58:18 -0700 (PDT) Received: from puffmais.c.googlers.com (64.227.90.34.bc.googleusercontent.com. [34.90.227.64]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7dc9d45239sm631017466b.119.2024.08.07.04.58.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 04:58:18 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Wed, 07 Aug 2024 12:58:18 +0100 Subject: [PATCH v2 1/2] tty: serial: samsung_tty: drop unused argument to irq handlers Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240807-samsung-tty-cleanup-v2-1-1db5afc9d41b@linaro.org> References: <20240807-samsung-tty-cleanup-v2-0-1db5afc9d41b@linaro.org> In-Reply-To: <20240807-samsung-tty-cleanup-v2-0-1db5afc9d41b@linaro.org> To: Krzysztof Kozlowski , Alim Akhtar , Greg Kroah-Hartman , Jiri Slaby Cc: Peter Griffin , Tudor Ambarus , Will McVicker , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= X-Mailer: b4 0.13.0 The 'irq' argument is not used in any of the callees, we can just drop it and simplify the code. No functional changes. Reviewed-by: Tudor Ambarus Signed-off-by: Andr=C3=A9 Draszik --- drivers/tty/serial/samsung_tty.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_= tty.c index dc35eb77d2ef..1c6d0ffe5649 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -855,7 +855,7 @@ static irqreturn_t s3c24xx_serial_rx_chars_pio(void *de= v_id) return IRQ_HANDLED; } =20 -static irqreturn_t s3c24xx_serial_rx_irq(int irq, void *dev_id) +static irqreturn_t s3c24xx_serial_rx_irq(void *dev_id) { struct s3c24xx_uart_port *ourport =3D dev_id; =20 @@ -928,7 +928,7 @@ static void s3c24xx_serial_tx_chars(struct s3c24xx_uart= _port *ourport) s3c24xx_serial_stop_tx(port); } =20 -static irqreturn_t s3c24xx_serial_tx_irq(int irq, void *id) +static irqreturn_t s3c24xx_serial_tx_irq(void *id) { struct s3c24xx_uart_port *ourport =3D id; struct uart_port *port =3D &ourport->port; @@ -950,11 +950,11 @@ static irqreturn_t s3c64xx_serial_handle_irq(int irq,= void *id) irqreturn_t ret =3D IRQ_HANDLED; =20 if (pend & S3C64XX_UINTM_RXD_MSK) { - ret =3D s3c24xx_serial_rx_irq(irq, id); + ret =3D s3c24xx_serial_rx_irq(id); wr_regl(port, S3C64XX_UINTP, S3C64XX_UINTM_RXD_MSK); } if (pend & S3C64XX_UINTM_TXD_MSK) { - ret =3D s3c24xx_serial_tx_irq(irq, id); + ret =3D s3c24xx_serial_tx_irq(id); wr_regl(port, S3C64XX_UINTP, S3C64XX_UINTM_TXD_MSK); } return ret; @@ -971,11 +971,11 @@ static irqreturn_t apple_serial_handle_irq(int irq, v= oid *id) if (pend & (APPLE_S5L_UTRSTAT_RXTHRESH | APPLE_S5L_UTRSTAT_RXTO)) { wr_regl(port, S3C2410_UTRSTAT, APPLE_S5L_UTRSTAT_RXTHRESH | APPLE_S5L_UTRSTAT_RXTO); - ret =3D s3c24xx_serial_rx_irq(irq, id); + ret =3D s3c24xx_serial_rx_irq(id); } if (pend & APPLE_S5L_UTRSTAT_TXTHRESH) { wr_regl(port, S3C2410_UTRSTAT, APPLE_S5L_UTRSTAT_TXTHRESH); - ret =3D s3c24xx_serial_tx_irq(irq, id); + ret =3D s3c24xx_serial_tx_irq(id); } =20 return ret; --=20 2.46.0.rc2.264.g509ed76dc8-goog From nobody Mon Feb 9 05:25:03 2026 Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 738901E487F for ; Wed, 7 Aug 2024 11:58:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723031903; cv=none; b=ktCMSCGUpNvlMOrQ/rT5XOAu55hoHZaXbsi6NO+HCuKhD1L+fijysgXEQIYzGpRMpQwGRavT2izue6s3/MlA9Gv1xhMEfGHMY22XJx0Hf47EvviY3qq1xBYSVrHnj8SM8U0ArAVevuPANuDi1JfWM+tA3thKipWbTd/Tz3prsGo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723031903; c=relaxed/simple; bh=ggjnJ0raEKzm4Qv0yp9WV/5danRBgVZL970zbgHPk+A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rgnDpvoIOY4gbPdzJp+pcNvxkY7ZaO/yxODtEH4MuD5fCCTYtLYCwIcjDUbReKWNP3n09B05nWp783Oa/hdiA3m1IEos6zDMIfXsDgudOUexmYF0Tc91izmoYVJmQpbuFPZrARjqkBXXLkabttR3JEAywJk2kGcGEpVzZhS4ACk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=YLqhTPrt; arc=none smtp.client-ip=209.85.167.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YLqhTPrt" Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-52f04b4abdcso2448163e87.2 for ; Wed, 07 Aug 2024 04:58:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723031900; x=1723636700; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ob/dMG7ffpu5CnJb/3jC4P+DU5cPyh8uWCPmQu8UZIQ=; b=YLqhTPrtwuOHgZMsTlwOk/r3Iewmqr43iPceUS7oqya5eXe20VeaOV7w/2F8O6yZgR zK15S4bW7J7R2rmoimao4cwx64oCbf1tNvAIOtdtqn2+hdWe+SQ34X723gQsy2hc0/T8 IeXj0z3bnJTlyBsV7F0tuLMgdBnUHzXpeDijYiMdpxN3h3UXI1j1BMDCXM9QO/cIgAiI CwVlASZeIUffN4UDBk827d7VOtNRxEFD7BWxVdDrlgNyApxfwPd/WKarEN3qNJnACb5J LT/RuZR6vNVD6+GTSMmX9f5P0RdLHG7wlxzal2YbtYm8fNt12GeyUIlpoMG5HeQ0UIpF Z68w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723031900; x=1723636700; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ob/dMG7ffpu5CnJb/3jC4P+DU5cPyh8uWCPmQu8UZIQ=; b=UNfkSYTdLtK7172WaortqNj2NhtVhxMB1kZPVlwjG8BSjVY5bxp7qgb100ymPJVFJi razlojO05YP04+ZSPzJXU/nlh9a26NtG9CoeUqlliklVUNdH3rJrbOye/KmTNR9L44+0 wkX9TgPKTyBENkFxpliVqKYzF3xffE+Hmt+xQakBuW0uh6I6j+OCy5rmW6lzs5xcYQOQ qysgud+EXIYWlMzEwAzzt98RK0Thrtq3S5xPdqF2zr2GKCqX/zV/J+yiBjSNr8XGCJu4 +qxz9b940xDsU1PVSrCV29I6legeXlOKKebl74IaOUd9u9AtOeu7paRuuJ6EosdDSnfi wvLQ== X-Forwarded-Encrypted: i=1; AJvYcCXJ/ukL5lV7O0yjYch6UKUlUNQ99RxLoaci+01BjN0VtYk56ruZnbYtvFZel9ipzwboEYOgZgJjULhntqTYMcl7PI3Y87LCapRJ2Npd X-Gm-Message-State: AOJu0Yzgj7+2XF3FiN9mU0EyGrqEXb4c9GkrXGWxcyutYZnE+IIgrBoi LaIsIP56b5RufTXs7KhFQO4edbeVxo+CkadgAOpHlUA3OjnXSMC9qUhOEw6cYKY= X-Google-Smtp-Source: AGHT+IGDZqmOeN0Q0y0tQSs0UlBctnHvqqnA7n65bihl/RZDrjmhHLw+CXjoDWECICYBe/4UovaLeQ== X-Received: by 2002:a05:6512:b8d:b0:52c:d80e:55a5 with SMTP id 2adb3069b0e04-530bb395e1cmr11925471e87.41.1723031899218; Wed, 07 Aug 2024 04:58:19 -0700 (PDT) Received: from puffmais.c.googlers.com (64.227.90.34.bc.googleusercontent.com. [34.90.227.64]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7dc9d45239sm631017466b.119.2024.08.07.04.58.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 04:58:18 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Wed, 07 Aug 2024 12:58:19 +0100 Subject: [PATCH v2 2/2] tty: serial: samsung_tty: cast the interrupt's void *id just once Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240807-samsung-tty-cleanup-v2-2-1db5afc9d41b@linaro.org> References: <20240807-samsung-tty-cleanup-v2-0-1db5afc9d41b@linaro.org> In-Reply-To: <20240807-samsung-tty-cleanup-v2-0-1db5afc9d41b@linaro.org> To: Krzysztof Kozlowski , Alim Akhtar , Greg Kroah-Hartman , Jiri Slaby Cc: Peter Griffin , Tudor Ambarus , Will McVicker , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= X-Mailer: b4 0.13.0 The interrupt handler routines and helpers are casting the 'void *' pointer to 'struct exynos_uart_port *' all over the place. There is no need for that, we can do the casting once and keep passing the 'struct exynos_uart_port *', simplifying the code and saving a few lines of code. No functional changes. Reviewed-by: Tudor Ambarus Signed-off-by: Andr=C3=A9 Draszik --- v2: fix -Wdiscarded-qualifiers, sorry --- drivers/tty/serial/samsung_tty.c | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_= tty.c index 1c6d0ffe5649..951e16c87471 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -707,9 +707,8 @@ static void enable_rx_pio(struct s3c24xx_uart_port *our= port) =20 static void s3c24xx_serial_rx_drain_fifo(struct s3c24xx_uart_port *ourport= ); =20 -static irqreturn_t s3c24xx_serial_rx_chars_dma(void *dev_id) +static irqreturn_t s3c24xx_serial_rx_chars_dma(struct s3c24xx_uart_port *o= urport) { - struct s3c24xx_uart_port *ourport =3D dev_id; struct uart_port *port =3D &ourport->port; struct s3c24xx_uart_dma *dma =3D ourport->dma; struct tty_struct *tty =3D tty_port_tty_get(&ourport->port.state->port); @@ -843,9 +842,8 @@ static void s3c24xx_serial_rx_drain_fifo(struct s3c24xx= _uart_port *ourport) tty_flip_buffer_push(&port->state->port); } =20 -static irqreturn_t s3c24xx_serial_rx_chars_pio(void *dev_id) +static irqreturn_t s3c24xx_serial_rx_chars_pio(struct s3c24xx_uart_port *o= urport) { - struct s3c24xx_uart_port *ourport =3D dev_id; struct uart_port *port =3D &ourport->port; =20 uart_port_lock(port); @@ -855,13 +853,11 @@ static irqreturn_t s3c24xx_serial_rx_chars_pio(void *= dev_id) return IRQ_HANDLED; } =20 -static irqreturn_t s3c24xx_serial_rx_irq(void *dev_id) +static irqreturn_t s3c24xx_serial_rx_irq(struct s3c24xx_uart_port *ourport) { - struct s3c24xx_uart_port *ourport =3D dev_id; - if (ourport->dma && ourport->dma->rx_chan) - return s3c24xx_serial_rx_chars_dma(dev_id); - return s3c24xx_serial_rx_chars_pio(dev_id); + return s3c24xx_serial_rx_chars_dma(ourport); + return s3c24xx_serial_rx_chars_pio(ourport); } =20 static void s3c24xx_serial_tx_chars(struct s3c24xx_uart_port *ourport) @@ -928,9 +924,8 @@ static void s3c24xx_serial_tx_chars(struct s3c24xx_uart= _port *ourport) s3c24xx_serial_stop_tx(port); } =20 -static irqreturn_t s3c24xx_serial_tx_irq(void *id) +static irqreturn_t s3c24xx_serial_tx_irq(struct s3c24xx_uart_port *ourport) { - struct s3c24xx_uart_port *ourport =3D id; struct uart_port *port =3D &ourport->port; =20 uart_port_lock(port); @@ -944,17 +939,17 @@ static irqreturn_t s3c24xx_serial_tx_irq(void *id) /* interrupt handler for s3c64xx and later SoC's.*/ static irqreturn_t s3c64xx_serial_handle_irq(int irq, void *id) { - const struct s3c24xx_uart_port *ourport =3D id; - const struct uart_port *port =3D &ourport->port; + struct s3c24xx_uart_port *ourport =3D id; + struct uart_port *port =3D &ourport->port; u32 pend =3D rd_regl(port, S3C64XX_UINTP); irqreturn_t ret =3D IRQ_HANDLED; =20 if (pend & S3C64XX_UINTM_RXD_MSK) { - ret =3D s3c24xx_serial_rx_irq(id); + ret =3D s3c24xx_serial_rx_irq(ourport); wr_regl(port, S3C64XX_UINTP, S3C64XX_UINTM_RXD_MSK); } if (pend & S3C64XX_UINTM_TXD_MSK) { - ret =3D s3c24xx_serial_tx_irq(id); + ret =3D s3c24xx_serial_tx_irq(ourport); wr_regl(port, S3C64XX_UINTP, S3C64XX_UINTM_TXD_MSK); } return ret; @@ -963,19 +958,19 @@ static irqreturn_t s3c64xx_serial_handle_irq(int irq,= void *id) /* interrupt handler for Apple SoC's.*/ static irqreturn_t apple_serial_handle_irq(int irq, void *id) { - const struct s3c24xx_uart_port *ourport =3D id; - const struct uart_port *port =3D &ourport->port; + struct s3c24xx_uart_port *ourport =3D id; + struct uart_port *port =3D &ourport->port; u32 pend =3D rd_regl(port, S3C2410_UTRSTAT); irqreturn_t ret =3D IRQ_NONE; =20 if (pend & (APPLE_S5L_UTRSTAT_RXTHRESH | APPLE_S5L_UTRSTAT_RXTO)) { wr_regl(port, S3C2410_UTRSTAT, APPLE_S5L_UTRSTAT_RXTHRESH | APPLE_S5L_UTRSTAT_RXTO); - ret =3D s3c24xx_serial_rx_irq(id); + ret =3D s3c24xx_serial_rx_irq(ourport); } if (pend & APPLE_S5L_UTRSTAT_TXTHRESH) { wr_regl(port, S3C2410_UTRSTAT, APPLE_S5L_UTRSTAT_TXTHRESH); - ret =3D s3c24xx_serial_tx_irq(id); + ret =3D s3c24xx_serial_tx_irq(ourport); } =20 return ret; --=20 2.46.0.rc2.264.g509ed76dc8-goog