Message ID | 87vb5qh7ko.wl%kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 489061bba6c655a2f98d39be17df118c0fd09d57 |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 986DFC02AA for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 15 Feb 2016 05:33:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C9D40204D8 for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 15 Feb 2016 05:33:17 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id A3FA220462 for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 15 Feb 2016 05:33:16 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 988CD2650DB; Mon, 15 Feb 2016 06:33:15 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.8 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 52C292619DB; Mon, 15 Feb 2016 06:28:39 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id C41BB2619BE; Mon, 15 Feb 2016 06:28:37 +0100 (CET) Received: from relmlie3.idc.renesas.com (relmlor4.renesas.com [210.160.252.174]) by alsa0.perex.cz (Postfix) with ESMTP id 8C13E261AF0 for <alsa-devel@alsa-project.org>; Mon, 15 Feb 2016 06:25:58 +0100 (CET) Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 15 Feb 2016 14:25:56 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 50FE7443C6; Mon, 15 Feb 2016 14:25:56 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id 4629E1806F; Mon, 15 Feb 2016 14:25:56 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id 3FAC71800A; Mon, 15 Feb 2016 14:25:56 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id QAP05489; Mon, 15 Feb 2016 14:25:56 +0900 X-IronPort-AV: E=Sophos;i="5.22,449,1449500400"; d="scan'";a="204324786" Received: from mail-hk2apc01lp0211.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.211]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 15 Feb 2016 14:25:55 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=kDyy1NjSu8P/GPwYnTRk6FviyNIhqB0z7seUAWQwSm0=; b=K7gudH9rqo1kBQJF2CdmrG3FLdPtGjDqUd2+PStq/8qf/Fg1KiDKu2whoooTZXnx5QI8bFFf2UtM0xbwmI5V0WopR9EVEWzZWRSRDucRAYm75kvCX/vo+Zd+cO11KLgf+WpxtprUv8VTuI9bJGyisS/f0YvQNSaRD6G0XgugUOQ= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by SIXPR06MB1022.apcprd06.prod.outlook.com (10.160.239.156) with Microsoft SMTP Server (TLS) id 15.1.409.15; Mon, 15 Feb 2016 05:25:54 +0000 Message-ID: <87vb5qh7ko.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") To: Mark Brown <broonie@kernel.org>, Greg KH <gregkh@linuxfoundation.org> In-Reply-To: <87d1ryimdz.wl%kuninori.morimoto.gx@renesas.com> References: <87d1ryimdz.wl%kuninori.morimoto.gx@renesas.com> Date: Mon, 15 Feb 2016 05:25:54 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR01CA0036.jpnprd01.prod.outlook.com (25.164.161.146) To SIXPR06MB1022.apcprd06.prod.outlook.com (25.160.239.156) X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB1022; 2:n2nsdMKmwREFcxCrhuMjolx5BhCbkaXcwyqIn8MVWjJhzygxsHDWM7bEV16xbDWfezHl04BkRmRtsuqpsu/ns4n1EG9ErA+jJVlf7TDbp+lFqbbbCYF7/UqRM5JaJBKuoQ91/JGz/ypkrehtj+1byg==; 3:uot24h22rgFmi3r/C0Il7XK5bxx40BDYYTaJtysZHDtn4JcnVGNaLDl/PjItvOfDJ8KTU/j2hT/ebEMBrVkE0zYJOU0zFpdtvGQ59HwqMEdTr6+cyl7mtFfjeeSsueyE; 25:nG/qftUmeOLoHz+UmQO8UYYF9kjugi+P5BJnFPlWO79gVdiuxWpp6hrbsL/3AzJio2lmLtFPYcBqtm/x3l3QCpSRH3yxYgSnTSrYAAgOO1+gCjKFIE4BhAF4xgeWFZPwwmZPs/AA3vm3pbc/Qn6P+b/UGNMEUA8kikXgqhjstAxKEiS1WqpsPD5ksSBuVy6V90hUCNBYXrG3vIT/8FjJiwnTZb9wzXA2aZpF2KcioerifliuuNCKSaqs3lRL6sp5dO2mpwWv9nbIlRb8hmc6ovryjXDFne3kM+2EXlyEdVc+SNv7mW7cUx1KR+D9U7na X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SIXPR06MB1022; X-MS-Office365-Filtering-Correlation-Id: daeb6357-6564-4b13-edf9-08d335c879fe X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB1022; 20:dpGrRoCtxNAdEYiEwdotMq77LdKpSAonxm23OgdR9o7uEI0JtY5GOkfMP0FP9cYNUXPQbHebvyEDuayw4Ga78PmU+l+HPZhbBZdMIOEKaLF4ba6rBfVfihBF70NDdpICCoZl8F2eZhdrIkz99qEcvWpruYXzIuYEGYmfc7BKf3wr5lE002bmbx9uOpgQ8vpkIsIfYETo4aGGy6JagSBQjkKTLF5U+srC2fDptof8QqAGVr0OaYc6DTRb0C6jArwKfkTRsqM8XkerV/6khB3U9SH0mWdqRLi/Nw9L6duPMqwl6r5murfMjpG+BcduOt4lb/j2ckyaNx8x1hPo41qx0AL80b9OEVLnALoGL74wgAFWMQOpU+MMCG6OFcUfvtIhVArF+9ampEBgDIUquRmuodL/Oe8Z6BY/cr/RKC76PpkbkcDDmgGefYDkQjAqFfVwQIuTjp9vq8rPXR3vR2yFv4TZkIzoSnh5mJ+g31Po6P+7UHo7a2maB36H4goUrzB1; 4:mSx+VLXyEmrSjRcAG7pHa90xNSNS6KaudTg42NiWPj9R4YVYm3gZe6UXR45F0ZZZliWSLxSiFPeCM1HbXz0bCs8e8k2pKHF/DO4VSaUOedsWQ3EcGEe+1DUh8TzjgENPIQZoVM5WGQZ7pA5+d8rTiDzdAuaLOAeG+tbSMSpxhqmewDlNcLkNs9D+izeCkGAlOZoNCAbb+7eDLNv8fqRCyZOlmxHc8tGZofTz/Ru3Xow6O/fA4cdLj1wPOT/FYCj5fh5m0obnk17vwL8zXbaZ2n2ADMqPyRNDbun5NDl/mNXP23gOPMbC70RAmIuyWqG1AMzHK7U4sRv5MAzBgeKNlPo5WHI3XdQuu2HTKcu56h+b8okTQvcdIrecHbV+pV78 X-Microsoft-Antispam-PRVS: <SIXPR06MB10223DCC9DEF83766FF649A9D4AC0@SIXPR06MB1022.apcprd06.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:SIXPR06MB1022; BCL:0; PCL:0; RULEID:; SRVR:SIXPR06MB1022; X-Forefront-PRVS: 08534B37A7 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(5001960100002)(1096002)(4326007)(5004730100002)(77096005)(122386002)(53416004)(5008740100001)(47776003)(4001350100001)(5001770100001)(42186005)(40100003)(23726003)(33646002)(92566002)(189998001)(86362001)(46406003)(2950100001)(76176999)(229853001)(586003)(3846002)(6116002)(50466002)(66066001)(54356999)(83506001)(50986999)(87976001)(36756003)(19580405001)(2906002)(19580395003); DIR:OUT; SFP:1102; SCL:1; SRVR:SIXPR06MB1022; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SIXPR06MB1022; 23:7k2xlhvGzikuhkjvbrlwARVORFnkH3Un/jKP+tmR2?= =?us-ascii?Q?cov/zZE4OVQwbqaZ0vUf7RVM5jcA0O568Qr5aJKiC2Z9UOybLEoFK4gqYoSH?= =?us-ascii?Q?2BtTT8OTcGXNnwsHP6sHjCVn3o/O4mFITs9LBlRWkjnUC7SI3WVd4b/5JPck?= =?us-ascii?Q?3jezwPntdc3TPCOP7d2Wa3C019nTLxKdIznbykLXIZPNlwFecggW4NoU5fWv?= =?us-ascii?Q?thsAOfvYxnBuak465PdO4640Q8/20T0XbDtf93l/Tm3Gfn1/7LG0qKXETK6z?= =?us-ascii?Q?ztwWQo/QXkeYWMKn2RtUfFUtdFfDAY+/XzHUpVDNFEukOZoW99J0bVU/cFoh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QGQcHG9zOV8rqt1Mag0id/U1/1uHmYyCds+QtUBoMZnzY/vB28SaPlgnsaF01LOZVKTTy6+cJk3EY2ks3C+Rf2UyPX50Mw=; 20:kFsNVq6KswGekKMMRwwZuZdSlGvuCr8cPkpFYEKKdeoLAFNOcwomWwtxvgVUo16L+UwOXkeDdFirXM/ghT4rMGIBGourOoy2YLUHT81GFqt8gHrorIXufTU4F5Sr/z+HJlke2t0HNDiwUpfPil6mj5rSrKtBsGH8mkYWIj67lOE= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2016 05:25:54.0228 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SIXPR06MB1022 Cc: Linux-ALSA <alsa-devel@alsa-project.org>, Linux-Kernel <linux-kernel@vger.kernel.org> Subject: [alsa-devel] [PATCH 12/15 v2][RFC] regmap: add regmap_field_force_xxx() macros X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 7d3d498..d36ea89 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -76,8 +76,12 @@ struct reg_sequence { #define regmap_field_write(field, val) \ regmap_field_update_bits_base(field, ~0, val, NULL, false, false) +#define regmap_field_force_write(field, val) \ + regmap_field_update_bits_base(field, ~0, val, NULL, false, true) #define regmap_field_update_bits(field, mask, val)\ regmap_field_update_bits_base(field, mask, val, NULL, false, false) +#define regmap_field_force_update_bits(field, mask, val) \ + regmap_field_update_bits_base(field, mask, val, NULL, false, true) #define regmap_fields_write(field, id, val) \ regmap_fields_update_bits_base(field, id, ~0, val, NULL, false, false)