Path: blob/main/audio/alsa-utils/files/patch-alsactl_boot_params.c
34605 views
--- alsactl/boot_params.c.orig 2026-02-18 15:46:59 UTC1+++ alsactl/boot_params.c2@@ -629,9 +629,9 @@3goto out;4}56- if (clock_gettime(CLOCK_MONOTONIC_RAW, &ts_monotonic) < 0) {7+ if (clock_gettime(CLOCK_MONOTONIC, &ts_monotonic) < 0) {8err = -errno;9- error("Failed to get CLOCK_MONOTONIC_RAW: %s", strerror(errno));10+ error("Failed to get CLOCK_MONOTONIC: %s", strerror(errno));11goto out;12}1314@@ -742,8 +742,8 @@15}1617if (ts_monotonic.tv_sec == 0) {18- if (clock_gettime(CLOCK_MONOTONIC_RAW, &ts_monotonic) < 0) {19- dbg("Failed to get CLOCK_MONOTONIC_RAW: %s", strerror(errno));20+ if (clock_gettime(CLOCK_MONOTONIC, &ts_monotonic) < 0) {21+ dbg("Failed to get CLOCK_MONOTONIC: %s", strerror(errno));22return changes;23}24}25@@ -961,9 +961,9 @@26}27ts_realtime.tv_nsec = 0;2829- if (clock_gettime(CLOCK_MONOTONIC_RAW, &ts_monotonic) < 0) {30+ if (clock_gettime(CLOCK_MONOTONIC, &ts_monotonic) < 0) {31err = -errno;32- error("Failed to get CLOCK_MONOTONIC_RAW: %s", strerror(errno));33+ error("Failed to get CLOCK_MONOTONIC: %s", strerror(errno));34goto out;35}36ts_monotonic.tv_nsec = 0;373839