Re: [PATCH 1/2] remove i.MX SPI driver

From: Sascha Hauer
Date: Wed Jun 24 2009 - 05:24:54 EST


On Tue, Jun 23, 2009 at 03:58:40PM -0700, Andrew Morton wrote:
> On Thu, 18 Jun 2009 08:54:31 +0200
> Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote:
>
> > This driver is in a non working state at the moment and will
> > be replaced by a bitbang driver which can also handle the
> > newer i.MX variants
>
> hum. How did it get into a non-working state?
>
> From the logs, it looks like it was working OK for Andrea Paterniani
> when he patched it in April last year.

The driver was written for arch-imx which is superseeded by arch-mxc
now. It depends on the i.MX DMA API which changed while moving from
arch-imx to arch-mxc.
A reason to keep the old driver is that it has DMA support, but Andrea
agrees that it's better to add DMA support to the new driver than to fix
it in the old driver.

>
> Ordinarily I'd be asking whether this replacement of one driver with
> another is a 100% seamless change. But I guess that the audience for
> SPI drivers are sufficiently technical to be able to handle the odd
> Kconfig changes, module parameter changes, module name changes, etc.
>
> But I do think that if there are any such user-visible changes, they
> should be described in the changelog. And I think there are such
> changes - the module name at least?
>
>
> Is it possible and desirable to retain both drivers for a while? Would
> that ease the transition? It also gives people a fallback driver to
> use, if your new driver doesn't work for them. Just like eepro100.c,
> which lived for five years ;)

I rather try to avoid that. Note that this is a platform driver which
had zero inkernel users till now.

>
> But it's really hard to make any decisions about this because the
> changelog failed to provide any details about the "non working state".
>

I'll add notes about this to the patch which removes the driver.

Sascha


--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/