Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7660137imu; Tue, 22 Jan 2019 09:25:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN4fhyqdhJoN3GXqf7N1yURXz5BdVOfTwsM8+U5d6trfd19pwyt9vvohLJDF9pI6+0UBXmUj X-Received: by 2002:a63:6150:: with SMTP id v77mr32086707pgb.266.1548177946886; Tue, 22 Jan 2019 09:25:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548177946; cv=none; d=google.com; s=arc-20160816; b=V9VhxDpWHQqra/h09GBstJQ/A/lLuvGQJTNjfosr2wnMhwnpCS5ViDxWqBiHxpPZiN c/UF7BLnuHcaF2Mi+advAI1Q1VN2YBM4heWP8lH+3IHIsOcMPCpXzu/YKsvZLVLC4wir O0OOHC1W/TQfaow7guCo0dSTLvByCcV7lvprfmQXSwJGtxTkOmCwu1flAHKDB2dA5C4S OMb2xZTKiJHLUlA5t6ZXb9aT8VlhLX3iQfclndKSm5leVMuZjnB4T/sgjyHlWleONknA GFh9c9g4mH03Fq3B/s28L3t1F2gzmwFM5HL4SXfNzfg0KCezKHOwZckHL13Pl78Dw3Ml VYSg== 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:mime-version :message-id:date:subject:cc:to:from; bh=VoM/91Fb4gx9HBMkw8Lvu2yX0BYegWL0/rwRamL4XwQ=; b=dUPkzgeyNsWJTmPOHKp95DaHPGcKYDTMdwbQw9adzD1IuGGoTrG+kZK8UB6900ySQ4 l2qmCxFAViX9m2wsn/6NZCSlq2VTN00PlSF8Tu78sgyUgekQo5KWDhoZKiDQYIrCSQ7X hrT5NVoyNzOkG+nKo61TMQXLlcIjQIeJt+si7psEfdQmDTNLQOuvZZeKscjv8hq14OX0 UKaMDnBsWnCxq5EOlNUOgQHQGxXM96B347nUC7c0yy+2un8HwBlTnwfeiDLaMSWXOjYJ w/FYxfWT3tPHLuyUCI+W3wAhvZE8KNEys5X0mkf4ApzBqq0HMInnQY/rpe43/97jUr7s jpbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d3si16393209pla.122.2019.01.22.09.25.31; Tue, 22 Jan 2019 09:25:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729610AbfAVRXV (ORCPT + 99 others); Tue, 22 Jan 2019 12:23:21 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:43427 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728719AbfAVRXU (ORCPT ); Tue, 22 Jan 2019 12:23:20 -0500 Received: by mail-lf1-f67.google.com with SMTP id u18so18653431lff.10 for ; Tue, 22 Jan 2019 09:23:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VoM/91Fb4gx9HBMkw8Lvu2yX0BYegWL0/rwRamL4XwQ=; b=r5nrA+8W3PNFfoEkeAxVYfWGTa3c+/r2QBjq4/dEA1BqykL0COplcYmIpbKQqFEl9y xFkbsFXZQj7L2n2nmU2IFm4eAjGs99HgY6g9xFoIsSSyr7eAh44zqqibWb/4HfW/b+5N NyAbOptVOLpjfpj/GaqvxucXVL8CbrdTgiu53uDhyM6l+0eKoHr6rbcYnks4VP/qhJxb 2daVcX2G7TuCEk4bQvcUlUL8wBcvq6wvO/HAPhpypaGqsvalQUh0rOXqpdFD5oIATDM3 XGYEw7e5HUWq+HF2cKsNmHncb0vN5lLKrUX3gfRKzx9Is+Xk44pPRfjVDrW+/IzT7puG zJzA== X-Gm-Message-State: AJcUukchj/HXTkQBK9WZeolvEf5HldE5r8uIZO//H/cfNZn3jcEskU+K XbDbik5dmLdq5Nd5nwAm5OmVJg9z X-Received: by 2002:ac2:41cb:: with SMTP id d11mr22302276lfi.3.1548177798565; Tue, 22 Jan 2019 09:23:18 -0800 (PST) Received: from xi.terra (c-74bee655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.190.116]) by smtp.gmail.com with ESMTPSA id q10-v6sm100801ljj.3.2019.01.22.09.23.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Jan 2019 09:23:17 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.91) (envelope-from ) id 1glzla-0004gA-Mn; Tue, 22 Jan 2019 18:23:14 +0100 From: Johan Hovold To: linux-kernel@vger.kernel.org Cc: Andreas Kemnade , Johan Hovold Subject: [PATCH 0/3] gnss: sirf: fixes and cleanup Date: Tue, 22 Jan 2019 18:22:52 +0100 Message-Id: <20190122172255.17944-1-johan@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These patches fixes an issue where the sirf wakeup interrupt was prematurely enabled during probe. As Andreas suggested, we should also make sure that the receiver is indeed suspended at probe (to avoid wasting power until first open or suspend). Johan Johan Hovold (3): gnss: sirf: fix premature wakeup interrupt enable gnss: sirf: force hibernate mode on probe gnss: sirf: drop redundant double negation drivers/gnss/sirf.c | 45 ++++++++++++++++++++++++++++++++------------- 1 file changed, 32 insertions(+), 13 deletions(-) -- 2.20.1