Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5405015pxj; Wed, 26 May 2021 09:43:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJza5eUEoQOZBlCL0Hy0ayLoTWY5p+4pd46lxzFs+6D6pjEhilZ+CsNmeVRQ1EsLkTn2Gb72 X-Received: by 2002:a05:6402:487:: with SMTP id k7mr38288005edv.315.1622047427406; Wed, 26 May 2021 09:43:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622047427; cv=none; d=google.com; s=arc-20160816; b=iwLhvCv2b/7PnqpPuFODdYS7eVCxIc04dVYtzS5Ist35hHzwS2TvhnPt+WgfwAps2s 0Vb7yLTvhiTZ9HJEtOlrHSK99qLuD+qd9mfSejy3b4t6TWupiRUiDuf7ZeypUJUyhKaD 0r8DYkVfAg4d+AluOEhgQou2/wqd/FaaB35U0Z1U1IcLYQ3k4y2FOXcgIgIpS7NzkgEB KHvSPt9rqaAYMwj/nxDxpHAXXZoSrx7r46hLGqYWPDYheD7UFjnjuUpfdTHmFt5vHBvy k80RcZ+Rln97CqG1mfOKD/y17dOyltDTy8kzSSQvzPfsPuYpfX8dJXlheggOMjLAYROa v1Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=3shAPoRLX0LdpJPXp0V0/Qy29QApIg6T8CXRJoBjIfw=; b=ubC0Jre6QoKM3/YEb8gnt9TR3pNEHL80NJdyzvKih8qUdwTlNZ7reT0uMfYQ+ZPCGd IQjNL67ABgPsnjnxeUwBEu8trbVDNeCT85/EMuNn+HYBDjghKyaAEm0BWBEcQW6vDgnI zrcQdLH4aFtTy4JVZwnMUTW2P1weGDmapWWxyHe75nZBLYLWD1sheZ2quyfaq5zX6wxF C9mVUTeqnsbrbRNWS3BjFcYxUx5wSWoaKmqaviJ7qnjDgxECR9uSP10Jp209Mg+39Xah vKFHS420Va0iDbHRSRViSnuC78RzitsJSQbdvCwF+a6bsiauWuv5Bg/Ce/p4zhYN+jPP A3lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=B5HO69jE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e18si18245420eja.585.2021.05.26.09.43.15; Wed, 26 May 2021 09:43:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=B5HO69jE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235167AbhEZQke (ORCPT + 99 others); Wed, 26 May 2021 12:40:34 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:35504 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234727AbhEZQkc (ORCPT ); Wed, 26 May 2021 12:40:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622047140; h=from:from: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=3shAPoRLX0LdpJPXp0V0/Qy29QApIg6T8CXRJoBjIfw=; b=B5HO69jEHgCnXLvIPpWGTfcxuWsfVlwUoUydocWJclCcfVMEeKqHYQ7oORBENYSRB7793B F25kJCI0u+Tzggimkvkkf6xgeNcGqoS3kiPKyymtHZ634zf3G8khOxpfidzYjma9qVjMQ3 EihKf7EsI07Oh2C/DlriIW3EcvXay1U= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-351-i_hjbnfbOEawqkPgMd9krw-1; Wed, 26 May 2021 12:38:59 -0400 X-MC-Unique: i_hjbnfbOEawqkPgMd9krw-1 Received: by mail-ed1-f70.google.com with SMTP id cn20-20020a0564020cb4b029038d0b0e183fso875386edb.22 for ; Wed, 26 May 2021 09:38:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3shAPoRLX0LdpJPXp0V0/Qy29QApIg6T8CXRJoBjIfw=; b=XMiWaevhe1/4Y1eqQJMLV0d6gZqlqHUEh/gSPmmh5/jZCTxp7wB5U+YiDYNy3IF7k1 YLbLXQzkofPbuTtx9OFcsyq9Dzip2iEPoFcBQjhaX+r523KRt7rtF+hMpCepAtPfCFDD sn+e2/ilk1lZyEifWnEsL2ZmJJeGqosaFnLpeDBHAffoyVPLgbBqLrPxkwYQoXw175lO S9yUQ2ceJwrKYvqiCIZX2rTsL/6DIKXA3Hd9oR7EKhe9Njy5LhpDA8molHAeAmlw1c7J PHYbx4EWH+iYNoIFjIwXai+wFShpwjb9qg27A1ASLZfsOnHHJI7SKzP26f823ogmdZaQ 7D2Q== X-Gm-Message-State: AOAM530ZWGM7LjxRQqCI3wHPX1kqKK9O6P7K3XCZ3kvg/ID2SUEyZCOG owASCAd2BhpXPSBy/geaQi0+4nDJcUN2BOoZkhTqGNFONFC7nt4bNdw3xAgYqFB/LR2Acb+PWAR 2IrsP5qMHn/Au677GIMIWURgJKeLjgk3xF5krxWHXwo9rt8AEhkmCa7WyqYj1R7x9vuXCE6QTw8 Fh X-Received: by 2002:a17:906:274d:: with SMTP id a13mr17839085ejd.51.1622047137837; Wed, 26 May 2021 09:38:57 -0700 (PDT) X-Received: by 2002:a17:906:274d:: with SMTP id a13mr17839058ejd.51.1622047137579; Wed, 26 May 2021 09:38:57 -0700 (PDT) Received: from x1.localdomain (2001-1c00-0c1e-bf00-1054-9d19-e0f0-8214.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:1054:9d19:e0f0:8214]) by smtp.gmail.com with ESMTPSA id t9sm10388942eji.39.2021.05.26.09.38.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 May 2021 09:38:57 -0700 (PDT) Subject: Re: [PATCH 0/2] usb: typec: mux: a few improvements To: Heikki Krogerus , Greg Kroah-Hartman , Li Jun Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210526153548.61276-1-heikki.krogerus@linux.intel.com> From: Hans de Goede Message-ID: Date: Wed, 26 May 2021 18:38:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20210526153548.61276-1-heikki.krogerus@linux.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 5/26/21 5:35 PM, Heikki Krogerus wrote: > Hi, > > The first patch should be trivial cleanup, but in the second one I'm > removing the condition that in practice forces the orientation switch > to always have the device property named "orientation-switch". This > change only impacts connections described with device graph since only > in that case the callback function is supplied with the "id" parameter > which is the first part of the condition (if the id is not supplied, > the function also does not expect the device property to exist). > > But when the connection between the connector and the switch is > described with device graph, I don't see any need for that device > property. Therefore let's just remove the condition and the > requirement for the device property with it. > > thanks, > > Heikki Krogerus (2): > usb: typec: mux: Use device type instead of device name for matching > usb: typec: mux: Remove requirement for the "orientation-switch" > device property Thanks, the series looks good to me: Reviewed-by: Hans de Goede for the series. Regards, Hans