]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: core: timer: Use NSEC_PER_SEC macro
authorJinjie Ruan <ruanjinjie@huawei.com>
Mon, 2 Sep 2024 07:16:22 +0000 (15:16 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 2 Sep 2024 08:18:11 +0000 (10:18 +0200)
commitf48bd50a1c8d7d733b83a8fbabb3041e0d505fc7
tree12bc7b6ad4d2a401bce2a881ca3f86fbe8f2a03f
parent3606f92de365c0189c13e25a94654257751732ef
ALSA: core: timer: Use NSEC_PER_SEC macro

1000000000L is number of ns per second, use NSEC_PER_SEC macro to replace
it to make it more readable

Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://patch.msgid.link/20240902071622.3519787-1-ruanjinjie@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/timer.c