Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2111060ybh; Fri, 24 Jul 2020 04:50:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRVNH8w/RJpzkOtJYTXVBxwA60UKUk/130Hd8yDAqABFW39kUWkmLAgmiKlUcvh8/BMGyu X-Received: by 2002:a17:906:8602:: with SMTP id o2mr9005146ejx.277.1595591436528; Fri, 24 Jul 2020 04:50:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595591436; cv=none; d=google.com; s=arc-20160816; b=IvbaGLVMEJXWaSr3LabOffxVDMuUz0sbKCiYlnBUKJtZVtyZr2H/H5mylOKnL7V2Kf k9vT/yoIWq/L5mHmru2jeXGiE6q08zbWOTV3R1dyXjqXVbxt16B9b/6t1wbfKBBPq0JP ZWrKjL3+51SmbnzsCiuHUlrEXDF+JNAsSm5daV96X+Fqj2SOM3u7nUqbep6gb4Y9uh+d ZFJ09i58hblBs7EltwGCYpkKb2G/j6ynmirNbzsk7i9HCXsmLZBv4km3uDzUz1ePKLM3 InlQ3sXd2xQ72N9Jel+/p3zeYvx1B/SW/UO5n8foPJQcFNjRYgEbtM6l/GBqD/XVQe+W 2WaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=6+ChtD0GXCo4LLqaKWKmtcOwT0zGgtGTIGQjamaPLVU=; b=Rs4ufTn2XdrD9hPmAEZMEvrWeLRRsZtO6PlngBQANJrmvkNjAOSgHAhXjXx3314rfW IirRZDbZwwRUKS6P/Vw3QVCdsZkbwl00j9jKLstkTf89ULMzeHWe447ivh53PMkXIVV7 ogb4cAqw8iQsy9MItqvsbgIhux5MLyV7wfCqJ5j3jEhAhP9gjDKGkiV4AkCZcsHySfY3 Wimst6nBNcTsei2wJ5Dvjgra4aNFlguZdwp60oQ24PzKgePJMqR6H6ZgroubjaPvYZDp bP2yX/UiPPOMT6AdrfqAdNRlu6BZVXq4on+xNWHr3auy9cLclvqLIFa24nL19ekn15NW X5hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KMOE2zap; 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 41si368370edq.343.2020.07.24.04.50.14; Fri, 24 Jul 2020 04:50:36 -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=KMOE2zap; 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 S1727856AbgGXLuG (ORCPT + 99 others); Fri, 24 Jul 2020 07:50:06 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:57411 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726280AbgGXLuC (ORCPT ); Fri, 24 Jul 2020 07:50:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595591400; 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=6+ChtD0GXCo4LLqaKWKmtcOwT0zGgtGTIGQjamaPLVU=; b=KMOE2zapcVtqQ8kwm8oQF4efmW+DJhXLyTo5cedOfeQSHblAOQmHEA3a8n/5eSd2fAPHu/ 1JyAfaWAkUXzUAK0SVmlDaV9B6JyCccRILiQfTPETpL8SZOy+TQnFWlpwqtFZA2JUCyLyP XkbUki9fEBVdx3gQ9t0Q19Cgeve/F7A= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-73-h92UwR-9MCWYx2rrIbKbAg-1; Fri, 24 Jul 2020 07:49:58 -0400 X-MC-Unique: h92UwR-9MCWYx2rrIbKbAg-1 Received: by mail-wm1-f70.google.com with SMTP id y204so3885229wmd.2 for ; Fri, 24 Jul 2020 04:49:58 -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=6+ChtD0GXCo4LLqaKWKmtcOwT0zGgtGTIGQjamaPLVU=; b=gfxiHceJmRO99eYZg4SGHB26gX6XKbPGlQlkDiVKToAgw2Q+An1F6dTndOWhMioDtG /oSPbvUg8y0E7CgRxuBaRvvCbgfvtYjLAxcAksNcW0fiAyoERViGXJ93TXSAPk10bBU8 xblCVWCWswVHIbvj4Ku+bS+YGQ55rdG4DwA/h7LZW5ETnzAGpY2NXjshiUf1lk9lw+wM 2a9GDEO69Bc3kaMLMMuwVSjft48iypMpB4fMjt1meCzHzklB0jVDVHqWu+UbxvQrs0jg 17SSSf4QGUAaV9wOBpqh43Wob1zrJbg33quJCmZRvCon44PkzEVtnwqrCg5F/9KS/v+/ EGBA== X-Gm-Message-State: AOAM533zRu4K8xYlQmaAEY2Vf+vhgiszmCF64CU0lFYDf25qDg9WJLxd RRG7aY1VAZlO2FAAh6J4PgO9bbI4ZSGNnT66ulJ1jGquH2sLKGHApI/GKZdnR4qnT+rIbF0YxjP 2QsBUD8Y1ZRkEXzvWigTIUkj3 X-Received: by 2002:a1c:f616:: with SMTP id w22mr8057671wmc.44.1595591397782; Fri, 24 Jul 2020 04:49:57 -0700 (PDT) X-Received: by 2002:a1c:f616:: with SMTP id w22mr8057655wmc.44.1595591397515; Fri, 24 Jul 2020 04:49:57 -0700 (PDT) Received: from x1.localdomain ([2a0e:5700:4:11:334c:7e36:8d57:40cb]) by smtp.gmail.com with ESMTPSA id u10sm6595252wml.29.2020.07.24.04.49.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Jul 2020 04:49:56 -0700 (PDT) Subject: Re: [PATCH 1/2] Bluetooth: hci_h5: Set HCI_UART_RESET_ON_INIT to correct flags To: Nicolas Boichat , Marcel Holtmann Cc: Johan Hedberg , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200721103652.1.Idbc7eddf1f24f750a8bbcbc8e06743736ae3be31@changeid> From: Hans de Goede Message-ID: <6c76582e-5e5d-0977-37b6-82bc84bd81c9@redhat.com> Date: Fri, 24 Jul 2020 13:49:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200721103652.1.Idbc7eddf1f24f750a8bbcbc8e06743736ae3be31@changeid> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 7/21/20 4:37 AM, Nicolas Boichat wrote: > HCI_UART_RESET_ON_INIT belongs in hdev_flags, not flags. > > Fixes: ce945552fde4a09 ("Bluetooth: hci_h5: Add support for serdev enumerated devices") > Signed-off-by: Nicolas Boichat Patch looks good to me: Reviewed-by: Hans de Goede Regards, Hans > > --- > > drivers/bluetooth/hci_h5.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c > index e60b2e0773db110..e41854e0d79aae2 100644 > --- a/drivers/bluetooth/hci_h5.c > +++ b/drivers/bluetooth/hci_h5.c > @@ -793,7 +793,7 @@ static int h5_serdev_probe(struct serdev_device *serdev) > if (!h5) > return -ENOMEM; > > - set_bit(HCI_UART_RESET_ON_INIT, &h5->serdev_hu.flags); > + set_bit(HCI_UART_RESET_ON_INIT, &h5->serdev_hu.hdev_flags); > > h5->hu = &h5->serdev_hu; > h5->serdev_hu.serdev = serdev; >