In the following we port driver for UDA1341.
17.1 Add patch for sound driver
Note£ºThere is UDA13410 driver in Linux-18.104.22.168.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-22.214.171.124£»Second is to explain how to add driver of 1.0.18a to Linux-126.96.36.199 to replace 1.0.20.
In 188.8.131.52, 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:
# 18 Apr 1998, Michael Elizabeth Chastain, <mailto:email@example.com>
# More hacking for modularisation.
# Prompt user for primary drivers.
For Full article: http://www.cutedigi.com/pub/Linux/LinuxPort/TUT17.pdf