* alsa-driver patches
@ 2010-05-12 1:05 Eliot Blennerhassett
2010-05-12 8:25 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Eliot Blennerhassett @ 2010-05-12 1:05 UTC (permalink / raw)
To: Takashi Iwai; +Cc: ALSA development
Hi Takashi,
since the acceptance of asihpi driver, and move to alsa-kernel, you
created a couple of patch files in alsa-driver/pci/asihpi
(that add conditional compilation for older kernels)
Can you tell me how these patches are generated and maintained?
(I guess this applies to any driver with this kind of patch).
I think that this arrangement means that my one upstream file needs to
be converted to two files (kernel .c + patch) when I submit updates?
thanks
--
Eliot Blennerhassett
AudioScience Inc.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: alsa-driver patches
2010-05-12 1:05 alsa-driver patches Eliot Blennerhassett
@ 2010-05-12 8:25 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2010-05-12 8:25 UTC (permalink / raw)
To: Eliot Blennerhassett; +Cc: ALSA development
At Wed, 12 May 2010 13:05:54 +1200,
Eliot Blennerhassett wrote:
>
> Hi Takashi,
>
> since the acceptance of asihpi driver, and move to alsa-kernel, you
> created a couple of patch files in alsa-driver/pci/asihpi
> (that add conditional compilation for older kernels)
>
> Can you tell me how these patches are generated and maintained?
> (I guess this applies to any driver with this kind of patch).
This is simply a diff against to the corresponding file in alsa-kernel
tree. If older kernels require some changes (e.g. ifdef's), we patch
it locally in alsa-driver tree at building.
In the case of asihpi, it's generated like:
% cd alsa-driver/pci/asihpi
% diff -u ../../alsa-kernel/pci/asihpi/hpios.c hpios.c > hpios.patch
> I think that this arrangement means that my one upstream file needs to
> be converted to two files (kernel .c + patch) when I submit updates?
If your change in the kernel conflicts with the existing patch, yes,
it'd be appreciated if you give the patch, too. Usually I make a
patch by myself.
thanks,
Takashi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-12 8:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-12 1:05 alsa-driver patches Eliot Blennerhassett
2010-05-12 8:25 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.