Re: [PATCH 4/4] pinctrl: mcp23s08: spi: Fix duplicate pinctrl debugfs entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 26, 2018 at 4:06 PM, Jan Kundrát <jan.kundrat@xxxxxxxxx> wrote:

> This is a bit more involved because the pinctrl core so far always
> assumed that one device (with a unique dev_name) only contains a single
> pinctrl thing. This is not true for the mcp23s08 driver for chips
> connected over SPI. They have a "logical address" which means that
> several chips can share one physical CS signal.
>
> A downside of this patch are some possibly ugly names for the debugfs
> entries, such as "spi1.1-mcp23xxx-pinctrl.2", etc.
>
> Signed-off-by: Jan Kundrát <jan.kundrat@xxxxxxxxx>

Patch applied with some fuzzing.

I don't know any better approach, it is definately
better than what we have today. If people think it is
too ugly they can patch it.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux