Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F01A6C61DA4 for ; Wed, 15 Mar 2023 10:29:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232098AbjCOK3O (ORCPT ); Wed, 15 Mar 2023 06:29:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230170AbjCOK3M (ORCPT ); Wed, 15 Mar 2023 06:29:12 -0400 Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DEBC67014 for ; Wed, 15 Mar 2023 03:29:11 -0700 (PDT) Received: by mail-oi1-x22b.google.com with SMTP id bd36so2940781oib.12 for ; Wed, 15 Mar 2023 03:29:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; t=1678876150; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=NHlZDiVHnerqeSSFzhJX7le/t5No4osa6kOg/Kk42cI=; b=LTPBN9pKjTVsmsyb3hK8xQncvg994vD90K4SC+CpzUqZI+J+mOwAMylPVAEOYh7FGe H68Mx8xEVJCNHeLjuApVEcGIGPKmVl2nrBpI+yoQhKeh3loTujISbcQaN4By0ffswgpb upV3wzUU/uPO9YJcJZ6QXxcD8qDngclM5JVTV7sRYBmIM3JRnGb/Q49RSlG/+LSFmTfk ZIqUe10QQ3N0gcpQpOg+cTztHE+8duaj/MlC/miT7nuaboAs9ofssmZ3EwOBKX/4Uxnj cVwZuJAo5mGoX/Iu23Qf2XuLob03kBbtrTUG/VdHGyPxy7/SU8n6RmlP+/jc8OIEohlW qAIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678876150; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NHlZDiVHnerqeSSFzhJX7le/t5No4osa6kOg/Kk42cI=; b=y2Zj3o3kn6RWX9oeKXKX3ZjHta8X+9vSv/AyBOZ+i2Rs9LF9hsYl2y78tX7mCng4YV Cgjoec33I/O4HK6luss3dOOxqpzaflJrdne/i1y686h/ZE54FYVJfnKPnQRV18DnD6Kl SOCRkNJ4itotFFA2QraYDUgwOx7Pf0sYriiStF5POA8CrI8jTBW7qtzjicJL3s0Nj53r 2cmTTFg4MmCbYfUIbttr1E5fIggYvb89cgiRtr1zexd3vLcIE/FDD3ZaWepOoga8WNrN 4I2mvPKUe3J4OSHSw60DJKDuLQ/OSk8FYGHc6BJ/FeO3y/ZxccGRl56iwu2GbcXeDx7r W5FA== X-Gm-Message-State: AO0yUKUoQ5diAjPVwVlpNrSQtjb6lUWSeUytcO9/zEWKO7VqgU5Lnfd9 Uy34SXZeebYdiknoi9a1GvWGlXe/NEcnAygLAGdMOw== X-Google-Smtp-Source: AK7set8StxKjIBBR19FNKDATBWPEQwTX1DIZwddywltpJhamhxGsFpO4Q+629gdUe2zbO3zF56HjWtLW1DzExpOKmhM= X-Received: by 2002:a05:6808:8c5:b0:37f:a9b3:9ce6 with SMTP id k5-20020a05680808c500b0037fa9b39ce6mr650355oij.4.1678876150689; Wed, 15 Mar 2023 03:29:10 -0700 (PDT) MIME-Version: 1.0 References: <20230310211954.2490-1-mario.limonciello@amd.com> <20230310211954.2490-7-mario.limonciello@amd.com> In-Reply-To: <20230310211954.2490-7-mario.limonciello@amd.com> From: Grzegorz Bernacki Date: Wed, 15 Mar 2023 11:28:59 +0100 Message-ID: Subject: Re: [PATCH v4 6/8] i2c: designware: Use PCI PSP driver for communication To: Mario Limonciello Cc: =?UTF-8?B?SmFuIETEhWJyb8Wb?= , Rijo-john.Thomas@amd.com, Thomas.Lendacky@amd.com, herbert@gondor.apana.org.au, Jarkko Nikula , Andy Shevchenko , Mika Westerberg , Felix.Held@amd.com, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mario, [..] > int i2c_dw_amdpsp_probe_lock_support(struct dw_i2c_dev *dev) > { > - int ret; > + if (!IS_REACHABLE(CRYPTO_DEV_CCP_DD)) > + return -ENODEV; > I think it should be "IS_REACHABLE(CONFIG_CRYPTO_DEV_CCP_DD)" thanks, grzegorz