# Re: \[RESEND,v3,4/9\] pinctrl: mediatek: moore: check if pin\_desc is valid before use

- From: Linus Walleij \<hidden\>
- Date: 2021-09-16 10:07:55 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2021/09/1510320
- Thread: https://ratatoskr.run/linux-devicetree/2021/09/1507563/t.md

```text
On Tue, Sep 14, 2021 at 10:52 AM Sam Shih [ref] wrote:

> Certain SoC are missing the middle part gpios in consecutive pins,
> it's better to check if mtk_pin_desc is a valid pin for the extensibility
>
> Signed-off-by: Sam Shih <redacted>
> Acked-by: Sean Wang <sean.wang@mediatek.com>

This patch applied for v5.16 so we get some stuff merged.

Yours,
Linus Walleij
```
