Loading sound/pci/rme9652/hdspm.c +13 −6 Original line number Diff line number Diff line Loading @@ -1339,6 +1339,10 @@ static u64 hdspm_calc_dds_value(struct hdspm *hdspm, u64 period) break; case MADIface: freq_const = 131072000000000ULL; break; default: snd_BUG(); return 0; } return div_u64(freq_const, period); Loading Loading @@ -1366,6 +1370,9 @@ static void hdspm_set_dds_value(struct hdspm *hdspm, int rate) case AIO: n = 104857600000000ULL; /* 100 MHz */ break; default: snd_BUG(); return; } n = div_u64(n, rate); Loading Loading
sound/pci/rme9652/hdspm.c +13 −6 Original line number Diff line number Diff line Loading @@ -1339,6 +1339,10 @@ static u64 hdspm_calc_dds_value(struct hdspm *hdspm, u64 period) break; case MADIface: freq_const = 131072000000000ULL; break; default: snd_BUG(); return 0; } return div_u64(freq_const, period); Loading Loading @@ -1366,6 +1370,9 @@ static void hdspm_set_dds_value(struct hdspm *hdspm, int rate) case AIO: n = 104857600000000ULL; /* 100 MHz */ break; default: snd_BUG(); return; } n = div_u64(n, rate); Loading