[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241005-th1520-pinctrl-fixes-v1-0-5c65dffa0d00@tenstorrent.com>
Date: Sat, 05 Oct 2024 12:35:26 -0700
From: Drew Fustini <dfustini@...storrent.com>
To: Drew Fustini <drew@...7.com>, Guo Ren <guoren@...nel.org>,
Fu Wei <wefu@...hat.com>, Linus Walleij <linus.walleij@...aro.org>
Cc: linux-riscv@...ts.infradead.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org, Drew Fustini <dfustini@...storrent.com>,
Dan Carpenter <dan.carpenter@...aro.org>
Subject: [PATCH 0/2] pinctrl: th1520: Improve code quality
Two code quality improvements for the new TH1520 pinctrl driver [1]:
- Linus suggested using guarded mutexs so I've converted the thp->mutex
lock to that usage in the first patch.
- The 2nd patch is a fix for a missing return value that smatch found.
The series is based on the linusw devel branch [2].
[1] https://lore.kernel.org/lkml/CACRpkdavPAv2sPRREQhx_A7EtOj6Ld_n+NcO+vH0QCnfVedXKw@mail.gmail.com/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/log/?h=devel
Signed-off-by: Drew Fustini <dfustini@...storrent.com>
---
Drew Fustini (2):
pinctrl: th1520: Convert to thp->mutex to guarded mutex
pinctrl: th1520: Fix return value for unknown pin error
drivers/pinctrl/pinctrl-th1520.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
---
base-commit: 2694868880705e8f6bb61b24b1b25adc42a4a217
change-id: 20241005-th1520-pinctrl-fixes-d20db68387e6
Best regards,
--
Drew Fustini <dfustini@...storrent.com>
Powered by blists - more mailing lists