36 DE_INIT((
"init_hw() - Darla24\n"));
40 if ((err = init_dsp_comm_page(chip))) {
41 DE_INIT((
"init_hw - could not initialize DSP comm page\n"));
55 if ((err = load_firmware(chip)) < 0)
65 static int set_mixer_defaults(
struct echoaudio *chip)
67 return init_line_levels(chip);
72 static u32 detect_input_clocks(
const struct echoaudio *chip)
74 u32 clocks_from_dsp, clock_bits;
91 static int load_asic(
struct echoaudio *chip)
131 DE_ACT((
"set_sample_rate: Error, invalid sample rate %d\n",
136 if (wait_handshake(chip))
139 DE_ACT((
"set_sample_rate: %d clock %d\n", rate, clock));
148 clear_handshake(chip);
154 static int set_input_clock(
struct echoaudio *chip,
u16 clock)