login
Header Space

 
 

Re: [PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dmitry <dbaryshkov@...>
Cc: Andrew Morton <akpm@...>, <linux-kernel@...>, <haavard.skinnemoen@...>, <lethal@...>, <philipp.zabel@...>, <pavel@...>, <tony@...>, <paul@...>
Date: Tuesday, April 8, 2008 - 3:33 pm

On Tue, Apr 08, 2008 at 01:47:35PM +0400, Dmitry wrote:

I don't consider it a hack at all - it's a work around for the fact
that the PXA FIR driver shares the UART, but the FIR driver doesn't
bind to the UART itself.

The _real_ issue is with IrDA itself, and is larger than just the
clock library.  Any serial port which supports IrDA, even on x86,
has to be shared between the serial driver and the IrDA driver -
there's no way for them to quietly co-exist and "just work" as
requested.

So, let's not work around the short comings of Serial/IrDA interactions
by adding additional complexity to random other layers which _shouldn't_
even be seeing the issue.

In addition, the point of the clock framework is that you ask for the
device plus clock NAME on _that_ device.  Inventing random other names
for the same physical clock on the same physical device is just nonsense -
even more so than the existing workaround.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/6] Clocklib: generic clocks framework, Dmitry Baryshkov, (Thu Apr 3, 9:21 am)
[PATCH 6/6] Clocklib: use correct name for 3,6MHz clock, Dmitry Baryshkov, (Thu Apr 3, 9:24 am)
Re: [PATCH 6/6] Clocklib: use correct name for 3,6MHz clock, Dmitry Baryshkov, (Fri Apr 11, 6:25 am)
[PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa, Dmitry Baryshkov, (Thu Apr 3, 9:24 am)
Re: [PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa, Russell King, (Tue Apr 8, 3:33 pm)
[PATCH 4/6] Clocklib: support ARM pxa sub-arch., Dmitry Baryshkov, (Thu Apr 3, 9:23 am)
[PATCH 3/6] Clocklib: support sa1100 sub-arch., Dmitry Baryshkov, (Thu Apr 3, 9:23 am)
[PATCH 2/6] Clocklib: debugfs support, Dmitry Baryshkov, (Thu Apr 3, 9:23 am)
Re: [PATCH 2/6] Clocklib: debugfs support, Andrew Morton, (Mon Apr 7, 6:59 pm)
Re: [PATCH 2/6] Clocklib: debugfs support, Greg KH, (Mon Apr 7, 9:04 pm)
speck-geostationary