From nobody Sun Jan 28 11:33:33 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TN8St1ZBsz58Q6G; Sun, 28 Jan 2024 11:33:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TN8St0xZcz4kKp; Sun, 28 Jan 2024 11:33:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706441614; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HZw8ir+F8lD9RbskPqnHBO244dHUN1HRTfkDp3akI9M=; b=fgzLirDb74AEEEIvRysEBWUSTV4kaa/kCYHfIpAKD5gZJJSHjEy4apZuWgDjM7sLiMA82m whl9+uRgsTkZIAM3/dAkBOf4MkvrfrIGO+wFW9pmaLqr/0/k2Myy5eHMc7923epcvH8nrp 2YdJfztYKo1HzPMYoOFlmwZCvzlg5PmRb641wPnm5ZnVACTJlLjSiwjderZzOl6Mtoh1KQ UEJ5DlZEkMv9R6iiqCW6Z1WEICuPhivnO49DYYv/Ldhgpt2AxXgf5MJI0HYsw6zKbUnh6Y 0mWn4p/1agDklN15cMxDjGwsJr6Gz/gEvdJPyl22h0Q6f4t7g5mvGW9mx8i2jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706441614; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HZw8ir+F8lD9RbskPqnHBO244dHUN1HRTfkDp3akI9M=; b=Q2QflmV6nx4Rk1LDeKuZAKq7nakUpvK6ou0Ju0ChB8GcjcgBh2skZtlsT5kiNC2PGXYUwa zP58dmenFyjIsAKjV8QYejPzbeK+bzLgexk4ObAtADJt9PF+z12bD4CbuE/1fyfefEktWm iu0vpACrzac0pPWKR3a0NOqsy4QivbvFLy+W1GLai7/KPa45bmCb8WADu4WGTBNX9Lm69M e4Dz1UqRuApDGIBtxvtN4qZQjxAyqZlv2uM11NXdQZ4IRdYe01lQvnm1Gg7A+8SmQsQvuu 7CiBqNLeclei4GTblpX0tb8JoeB8U/Jo5GWQTpQ1U1E5KmoClKHvr0h8+7EtjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706441614; a=rsa-sha256; cv=none; b=beEXGnHkxJCzeVhT72o+G6GOlNUuNESvsUeEVhscEmvV1T8bdpvLmiyaKNvR8JzYNKjA5T u4k5xjV8h8Tr4DHU3V36QuiuA+jw2QhRM018Mp5anApX68aEnRHWon4aKipKU7TIC8YSDb 4rQQsk5+XnCwu5tyqW4MA0EdDiW7/DAy+56pa709BLWMInDBKvAo5mNgSngLQl/TRcrZjV NlZpv1lENNfLgy9H734H9V99Lhir5Mbg4MFl/s9iXxYPWfms4GHg7fOG4gjkcsHv5tqiXl 8bmHN8RsItftzLmOPJFg/kUOZk63HZRMzyFqP1CWze6ZKXd8fDjttnKCg3/S7Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TN8Ss74Rzz15h8; Sun, 28 Jan 2024 11:33:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40SBXXEr070284; Sun, 28 Jan 2024 11:33:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40SBXXlX070281; Sun, 28 Jan 2024 11:33:33 GMT (envelope-from git) Date: Sun, 28 Jan 2024 11:33:33 GMT Message-Id: <202401281133.40SBXXlX070281@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andriy Gapon Subject: git: 408a9efd75dd - main - rk3328_codec: remove diagostic printfs List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: avg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 408a9efd75ddcf59a05069681c3b32cb1118aa9a Auto-Submitted: auto-generated The branch main has been updated by avg: URL: https://cgit.FreeBSD.org/src/commit/?id=408a9efd75ddcf59a05069681c3b32cb1118aa9a commit 408a9efd75ddcf59a05069681c3b32cb1118aa9a Author: Andriy Gapon AuthorDate: 2022-01-11 12:01:31 +0000 Commit: Andriy Gapon CommitDate: 2024-01-28 11:33:16 +0000 rk3328_codec: remove diagostic printfs Most likeyly there were intended as reminders for unimplemented functions, but they do not seem to be useful. Also, a small style nit. --- sys/arm64/rockchip/rk3328_codec.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/sys/arm64/rockchip/rk3328_codec.c b/sys/arm64/rockchip/rk3328_codec.c index 91d73ee4ca34..480a1087ea2d 100644 --- a/sys/arm64/rockchip/rk3328_codec.c +++ b/sys/arm64/rockchip/rk3328_codec.c @@ -434,11 +434,9 @@ rkcodec_mixer_set(struct snd_mixer *m, unsigned dev, unsigned left, unsigned rig RKCODEC_LOCK(sc); switch(dev) { case SOUND_MIXER_VOLUME: - printf("[%s] %s:%d\n", __func__, __FILE__, __LINE__); break; case SOUND_MIXER_MIC: - printf("[%s] %s:%d\n", __func__, __FILE__, __LINE__); break; default: break; @@ -546,27 +544,15 @@ rkcodec_dai_trigger(device_t dev, int go, int pcm_dir) { // struct rkcodec_softc *sc = device_get_softc(dev); - if ((pcm_dir != PCMDIR_PLAY) && (pcm_dir != PCMDIR_REC)) + if (pcm_dir != PCMDIR_PLAY && pcm_dir != PCMDIR_REC) return (EINVAL); switch (go) { case PCMTRIG_START: - if (pcm_dir == PCMDIR_PLAY) { - printf("[%s] %s:%d\n", __func__, __FILE__, __LINE__); - } - else if (pcm_dir == PCMDIR_REC) { - printf("[%s] %s:%d\n", __func__, __FILE__, __LINE__); - } break; case PCMTRIG_STOP: case PCMTRIG_ABORT: - if (pcm_dir == PCMDIR_PLAY) { - printf("[%s] %s:%d\n", __func__, __FILE__, __LINE__); - } - else if (pcm_dir == PCMDIR_REC) { - printf("[%s] %s:%d\n", __func__, __FILE__, __LINE__); - } break; }