|
@@ -46,8 +46,9 @@ static int snd_pcsp_create(struct snd_card *card)
|
|
int err;
|
|
int err;
|
|
int div, min_div, order;
|
|
int div, min_div, order;
|
|
|
|
|
|
|
|
+ hrtimer_get_res(CLOCK_MONOTONIC, &tp);
|
|
|
|
+
|
|
if (!nopcm) {
|
|
if (!nopcm) {
|
|
- hrtimer_get_res(CLOCK_MONOTONIC, &tp);
|
|
|
|
if (tp.tv_sec || tp.tv_nsec > PCSP_MAX_PERIOD_NS) {
|
|
if (tp.tv_sec || tp.tv_nsec > PCSP_MAX_PERIOD_NS) {
|
|
printk(KERN_ERR "PCSP: Timer resolution is not sufficient "
|
|
printk(KERN_ERR "PCSP: Timer resolution is not sufficient "
|
|
"(%linS)\n", tp.tv_nsec);
|
|
"(%linS)\n", tp.tv_nsec);
|