In the following we port driver for UDA1341.
17.1 Add patch for sound driver
Note£ºThere is UDA13410 driver in Linux-2.6.30.4.But the original 1.0.20 has issue. There should be bug. Here we use the driver of 1.0.18a to solve the problem.
Next we are going to explain the process in two parts: first is adding driver to Linux-2.6.25.8£»Second is to explain how to add driver of 1.0.18a to Linux-2.6.30.4 to replace 1.0.20.
In 2.6.25.8, there is no drive for S3C2440, we add patch. First copy file from our file system£¨name£ºEmbedSky_uda1341.c£©to “sound/oss/”. Next is to modify
“Kconfig”and”Makefile”£¬to support the newly added files. Edit “Kconfig” under “sound/oss/”£¬line 8 add the following:
# drivers/sound/Config.in
#
# 18 Apr 1998, Michael Elizabeth Chastain, <mailto:mec@shout.net>
# More hacking for modularisation.
#
# Prompt user for primary drivers.
For Full article: http://www.cutedigi.com/pub/Linux/LinuxPort/TUT17.pdf
Leave a Reply
You must be logged in to post a comment.