Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp849563lqj; Mon, 3 Jun 2024 02:43:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVgI8o/rEPRcpFen5eQalv0/QS2I0MXuhSRm9Sok83PZXieGzdV+qwybR0nuKPKmibN2+tcE3wzZW6kTIQL+86mL9ZkYZhTSCIEQDkctQ== X-Google-Smtp-Source: AGHT+IGyTpbqwFiJqDgLYHQvK0ovYhKA4ABp6ymiyKmuxZGEgGbTbEeQmPG7RETvDRbIDJ3dMIrq X-Received: by 2002:a05:6e02:b4b:b0:374:9c84:c613 with SMTP id e9e14a558f8ab-3749c84c7aamr35526855ab.29.1717407803361; Mon, 03 Jun 2024 02:43:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717407803; cv=pass; d=google.com; s=arc-20160816; b=clXZIatJ0MZaBfQe1os76PvBQKzc0GPxCYF/zHRp1m37+vZvGWseZMS9QYw5/ygO92 gAVr+ACFE4Vf5FhUdqiz+RMW0EWJgnAZNa3dR8ewntpvkR8TIAeCo0smerOb1fsKgKIM PZ6xv49MfHTje9P2jIDXonZEClk69JGkwylxeBe2DDdxgSO3UPOsGJZ/wWaeI+BSen53 khL15pmTAGvZkZviaMz2ht1c/yTtqqekFZqn3nVLd+TuzN/9TbHhxQEPgU9cwuG/rsoE xT2u/AfdXQL7qbNN8O2h3N2TSui73nN/6Y1sMU9AA3XhjIAbvm2c8nKOxg43/dQ+9CZN W4yw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=MqcLKvtYJ9TZ1EDrZbzL4x3uPENnbcq726v8T9HD24c=; fh=FchdWRbqOqOp2PzGf1clrWHzi5p/6mtWu/TH2BNm8RE=; b=ZF3Qu6OnhwAUi0HY7Xs2yPS9wFuH+5lT8+g3oPdHI55dKJTcoLMQJEX+DSxq6oYlOm 2CY76/CYegCEjsuxzyfdHsVAw+VPzYj/NiY1gOFXnwleYWEiRNXnxCQFYMAi3WO33xuM UV9a/jemdkUsHSYUnvldeMaoJP3IrwM88r0AgfpLk53nVdNe2fObhdm3Su72JIQ5M2el wqU5d+viP9xKVHV+ZJAhiw3YgmPd5kk7xtEXeUqqbQqQCaTPnrE/qhRjyAvQX+qk0hs0 1wK7Btjcoogi2ahyQsz42FeSFvYIZ08qx00bY58SHnIASrD6VTm5mLJ6v8CSBz62jRDR 7XWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Y5TrLINk; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-198887-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198887-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35d59d551si64394a12.809.2024.06.03.02.43.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 02:43:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198887-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Y5TrLINk; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-198887-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198887-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id EA837286283 for ; Mon, 3 Jun 2024 09:33:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C7258593B; Mon, 3 Jun 2024 09:30:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Y5TrLINk"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="UyGllTyQ" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6F9668592E; Mon, 3 Jun 2024 09:30:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717407013; cv=none; b=ucYIBAsrJXpe9HSfVRlwx5fmIpAoXwGTogdAjZbHhCiJ/toywKztlXigcPZHYPLyA9Hlez2JBNFa59c0bZSOb5k6ZJmb8UannPUDl+EbPOi7VyAbMOuVw0l2lOKaQ6N2OUy6vxwUI9nnEX0l7kcswC88m6pnldPqND1DcoSF68o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717407013; c=relaxed/simple; bh=+p8BxJD+68L24HPRnqXuSQhmyp/9HF25yN1AjkfExzw=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=JkSacqEC0xWGfBy3Ayi76JojkRkbnUpEiHb4Qk+l+vPl5a50v88PFCn3zlm3PpqRXPWZRIPhJp5lYaCwlJZhijQtHF/CPEEK/cdNvSaf49l9v0/zCpT/h07uLgxD7O0qmDwfoNndWYyDaRM3un9CYRy2OmbXSiykwpl4cVNT4DQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Y5TrLINk; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=UyGllTyQ; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Mon, 03 Jun 2024 09:30:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1717407008; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MqcLKvtYJ9TZ1EDrZbzL4x3uPENnbcq726v8T9HD24c=; b=Y5TrLINk4ymXQjvlWARXqcNIVVwjVci/+M8NF41AyeRHk1Be4F4N0wXsB3Rtq8NT2pUK40 cPM6dsPRhYY3vTLrui/U8K2gz46v4/dZKAG3P9K949POZXLY9UFngUJBaTbG/ZoGqKd4JR SDuconcIKptjCw/r4PBFJpXIEJL/ypQYsZQO+ejrDZv4jdRbwMn4vCFQwMW/sYCfFdKK2g 6DdRtquqLHVJq7QSYoQagCyLkotoKlaKGbsZhGFoOCFOOQPQ4zk8wFHRC8Og2evKbgSA4Z 179tb45ggEr/r6u0urQBTFMntSGs6L+5yTTpqERvjS+bRwtQvRH0LWGV50QRoQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1717407008; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MqcLKvtYJ9TZ1EDrZbzL4x3uPENnbcq726v8T9HD24c=; b=UyGllTyQxSfD+7zVteqYs8IZgmRMZ6OnEEjIcP424h3uDRTUbKsvPp8KhVBzpCZKA0qsT2 Ja1V1njRrtWvNgBw== From: "tip-bot2 for Thomas Gleixner" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] ALSA: hda: Remove convert_art_to_tsc() Cc: Thomas Gleixner , Lakshmi Sowjanya D , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240513103813.5666-7-lakshmi.sowjanya.d@intel.com> References: <20240513103813.5666-7-lakshmi.sowjanya.d@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171740700865.10875.2013333477065427380.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the timers/core branch of tip: Commit-ID: b3266ed85f77047a9674100f0da8058750e5bc62 Gitweb: https://git.kernel.org/tip/b3266ed85f77047a9674100f0da8058750e5bc62 Author: Thomas Gleixner AuthorDate: Mon, 13 May 2024 16:08:07 +05:30 Committer: Thomas Gleixner CommitterDate: Mon, 03 Jun 2024 11:18:50 +02:00 ALSA: hda: Remove convert_art_to_tsc() The core code now provides a mechanism to convert the ART base clock to the corresponding TSC value without requiring an architecture specific function. Replace the direct conversion by filling in the required data. No functional change intended. Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/r/20240513103813.5666-7-lakshmi.sowjanya.d@intel.com --- sound/pci/hda/hda_controller.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/pci/hda/hda_controller.c b/sound/pci/hda/hda_controller.c index 766734d..5d86e5a 100644 --- a/sound/pci/hda/hda_controller.c +++ b/sound/pci/hda/hda_controller.c @@ -463,7 +463,8 @@ static int azx_get_sync_time(ktime_t *device, *device = ktime_add_ns(*device, (wallclk_cycles * NSEC_PER_SEC) / ((HDA_MAX_CYCLE_VALUE + 1) * runtime->rate)); - *system = convert_art_to_tsc(tsc_counter); + system->cycles = tsc_counter; + system->cs_id = CSID_X86_ART; return 0; }