Writing a driver for the audio codec