Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752185AbdDCMDt (ORCPT ); Mon, 3 Apr 2017 08:03:49 -0400 Received: from mail-ve1eur01on0092.outbound.protection.outlook.com ([104.47.1.92]:10548 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751808AbdDCMDp (ORCPT ); Mon, 3 Apr 2017 08:03:45 -0400 Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=axentia.se; Subject: Re: [PATCH v2] i2c/muxes/i2c-mux-ltc4306: LTC4306 and LTC4305 I2C multiplexer/switch To: , , , , References: <1490782541-7832-1-git-send-email-michael.hennerich@analog.com> <0d4c068f-d909-64be-421d-4500da7ebd4c@axentia.se> CC: , , , From: Peter Rosin Organization: Axentia Technologies AB Message-ID: <3c61461e-493c-4562-90c9-f30766591de2@axentia.se> Date: Mon, 3 Apr 2017 14:03:35 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <0d4c068f-d909-64be-421d-4500da7ebd4c@axentia.se> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [81.224.171.159] X-ClientProxiedBy: DB6PR0202CA0031.eurprd02.prod.outlook.com (10.171.70.17) To AM5PR0202MB2545.eurprd02.prod.outlook.com (10.173.88.151) X-MS-Office365-Filtering-Correlation-Id: 74385fc6-ffc5-42bc-faa4-08d47a8978ab X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075);SRVR:AM5PR0202MB2545; X-Microsoft-Exchange-Diagnostics: 1;AM5PR0202MB2545;3:bc7l8IH6+QBmueDvG7eLUfXPTTxYj5uUDYuEV8dnTT3KH7xwsc8GYBm5l01HVEoubBrHnjRd6ualoLkMP6pCAhlJUGbYR76I+/FSLOSva0WNYn68ywyUJiZzIksBm4OXrLIBODct+ozXKbF7cXc3WZWBhiuiG4Y7bzCzs3qXBvf/F3T75FWywW70oUTWE1x9UcaFsLLSuY63rVSFXOCOxP/PkqT+I0J+wMST6m3XlojHBceBFqYVPNo0I/YhmAsb9xqy7TGnuiWYqLXHTL04c/ND/iMp8T1vX+RiSLQXf2c=;25:vmA15eMGGPwn7thVvTM3QhURCsdjJN4ZPWWBi/iFyfd01yZB48a/TVervd1F92BiBuh8LRJi+0a73uj0CGKyUAFF841BiEBHouQ3JC/m03tXC1ivpFBw2S51KJfaLPI0IQLr7TQwskT1xDbTPO4/6+8gBAhepkRIyk41vdpKVdmm9CA0igeUXrd6eGTDCueSxWmukZFX11wtftvv+HlaFeJIvmy9/ApN+M0JHOtQmnmyWOpFF+NN4ce9Tv9aNKJ4unqYDkaSW9xlWWCvUUxKAFa1djudgLmB/T+uGwWGk+5x8e6qzTHh8c5B/+U4azjy0M3/loJllV+C8AojuWLNZxQ8PRI8inI3RR3GnJp6NaO/ZAbFlwgeQ3Fl5Li0b+l0i52ghx0RGfeCMnxef43ulY0FqDf8Z0ip2FdkbV+mJKyGSF9RqVpaWIkLtG/IS1To X-Microsoft-Exchange-Diagnostics: 1;AM5PR0202MB2545;31:jKjqJhsXlhl3L6hb/LgGvd/Ty8doBoMzVcsNSCmfGRJ91nm7tl2SMw4ED+EPmgQCa4nLScDQp+iw/E2I65KjH9iud4XCoLvLgkOfFM35TKTHhy/SfbUi8hOofIcaYNMO6vG26BnSgdBgOfYptC57mUlOc3KEWgDOWmXeyOI7FkfoDNZKsFRYVZ+/TIdGMB3sHitN5ULH0DLm0TtR6kLn8LKve64wx0s5qN0LNtdZSwOIg/NvcDVNc8vu52SzSBKHbDwpiBv3SW+6ULdd8i6++JzdKDO6xzWAZkZwyuT5rUM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(232431446821674); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(6041248)(20161123555025)(2016111802025)(20161123564025)(20161123562025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(6072148)(6043046);SRVR:AM5PR0202MB2545;BCL:0;PCL:0;RULEID:;SRVR:AM5PR0202MB2545; X-Microsoft-Exchange-Diagnostics: 1;AM5PR0202MB2545;4:IYa56D7AQy8UKZj3lnoqaSPzJwSfYKvLj7g4QuI/T/K/sJxn1Epa/Hc7NtyeQkKKxocloO8zu4WqvhjKZPpHxUhICc1Kj7s25L4bVsbK400tx3wnZWM0FDtu60LSN1/Cr84bEMfnVc/tB55pn+hU61KDJ9/DC+VU8BfVXAAVFeXdwRuqB5DDHyZVLUrnj0+bNrRikYumnNkDscz8UFMPWIMS6pEmNnoTuDiCMy6DRblW0ZXT+Ty3Ek9IyRvfgPYEBScSoC877/DB/Jqs1hsmuenxDcQ2jCN5o+Qk/Q163UzdkcPCPH5Upl6Ju98wAiuz14LjxD5dUgTFDGYowsM5NVqksizeLGHZcyTSgfXVJwTvVwtHt1zj6R5icQmGsppnMq8X1B7RA//dI2UEXEm2Yjs/Sz1MOkFUWavyZveAfuDNTdY+lyZaup4OEdn/fziaTMUEtuLIm65vMdtA8v4qOxNRtL9/rXGSs6X73daJHDgt+JPTxrURGLN4ojvphrNli/i2Q/DTEqUmuBx9YiiUSAx0AvPMNFsoLB07TjwLxsqW4G+R6kJ6SZXPCf3ZMuao1TjI+qUcyXxZcpd8pyF/NbvIAaOQZqrclfIUCzx+stcNM1lXb1c7XHSFTYqoVItjCCZJcX2MqpAzHvnb5I2Bq/qZXZbkC23oK2HyvAe5/9R05npaNXBYw7V0bn7A1JRORaOtyj/3Lw1W9mnDUJTII38HS0z/PYRjcCzZqNEY+Q6DtnCqwL6YNna+8a2LVi62ZWu1NYlzn3THS1KlWOUAMq/JvSv3wN8vVNt6UjLrc7P1JEQoMaWEuMv7fcqNfY7J X-Forefront-PRVS: 0266491E90 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(6049001)(39450400003)(39410400002)(39400400002)(39840400002)(24454002)(377424004)(36756003)(23746002)(305945005)(7736002)(66066001)(4326008)(230783001)(81166006)(229853002)(2950100002)(6666003)(8676002)(6246003)(5660300001)(83506001)(2906002)(77096006)(3846002)(42186005)(86362001)(76176999)(50466002)(90366009)(31696002)(74482002)(6486002)(65826007)(38730400002)(53936002)(53546009)(4001350100001)(31686004)(6116002)(54356999)(50986999)(33646002)(47776003)(230700001)(117156002)(189998001)(6306002)(54906002)(25786009)(8666007)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:AM5PR0202MB2545;H:[192.168.0.125];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;AM5PR0202MB2545;23:UUMLtcN+ze7JFg8t1T0VX/KeYg59VTAtW0J?= =?Windows-1252?Q?2gb5H5nO1TFaj3/74Aj5gqZ76fWwVmczEqPzmvtX6ehlWPfg7zDb3MMa?= =?Windows-1252?Q?eg4BligNUDfkxoy4iBpw+Ghho6vu3Cjn7U4QBcfynPptXJJAn7F9oJV3?= =?Windows-1252?Q?2v3fRyNCIvet0oVbzqyGXsX6cY/yCuKcv2OLQcyFdaMAD5dfIflWSxUy?= =?Windows-1252?Q?Us2zAmiZ8nSf/O3bifevijV9TY+qvisl9BT61U+Z47j2TTVAyzsJmXjF?= =?Windows-1252?Q?uzyGoGBiYnz5FngPTpI4XJDwJphDwH7N21ViAovi8FKNXwBmaksyQ6Ch?= =?Windows-1252?Q?/44k/uNRyF9ICJvmkvXE8x7/Sx7yH3P638g82BJayn6eh1REd4oM3DGV?= =?Windows-1252?Q?rEmTKnOpeStgFIL/BBeJPurZ3rEmgxls2beGAKnEVzzkxFVCbhSq9XEd?= =?Windows-1252?Q?7XklUGXnpR5SDrbk+QuxP5p8bLwG2FWv2jMnrIwmsP7ygoiKC6QL0vLd?= =?Windows-1252?Q?2hRdDGUhcusqrsa6mT7alse7bpuCkY/LvTcoSoPfhPyOvU+vnvWCkJbB?= =?Windows-1252?Q?BfApnoi7d4iDeXp5pGmjdT0L56t8z8dQUmy+BEB+RLqLzW9b30G0btcQ?= =?Windows-1252?Q?SYmZ8ZPep2OjEKZqkrkJ3Gzl92Irt18PtSyhblsUbxthZE4xBbxsFhfR?= =?Windows-1252?Q?bXBcjUY9KFwvOqUSkB5duvWEQxLNagno0V021IZZG2e+7Gv7W9HKdm+x?= =?Windows-1252?Q?csVwLoADznTt6XpaaKeVjkPalhRxVrT2s4gnaAsgXzjr/NGgNf9sK+Sx?= =?Windows-1252?Q?cLwLqlzrtpPIIQ3repHggQws83kmJe44gZnW5q3ThvjA7bk7uLZzLfM8?= =?Windows-1252?Q?znIma005wKjmRm2WSM4MoypBXjjdjfHEFKUUb8UFVjb9uqmJAtDzdT2u?= =?Windows-1252?Q?qj++ZjaXKHQzgVSNJXpTV5WlnisoEz0oTW1J6btTu5DJ4PXPT527ugah?= =?Windows-1252?Q?TAgsIrgLLWsBWiZjWymTmoRwrNuxxq2/3iBZLh0wL9mD4272tsBBVffI?= =?Windows-1252?Q?55eNoJ+1XeDu2XFrdgZK2G/eTBGYtuytdk/Gr8KOCZZ6iExQgc8IXEt8?= =?Windows-1252?Q?sfw4awA/hKal52VlJ8YEA55gNktTVvYf5H3xNJKA32DYJs4pCrWvKLCe?= =?Windows-1252?Q?vGnokAHRLhNKRIKvstbLP8PVIgRAyZvRBc9KJCJrOmR09h1Y/9QpjxLu?= =?Windows-1252?Q?rPjkvJkVqQkUNC1BE2D642y/QQuIERbFzjQDHv2FOHe04Oz+ed+DPabt?= =?Windows-1252?Q?zrZLRUQj9Mnr8tp09MFzMR10dqgamrWUM9clzIs0lPYb1fc3ASgoVKW6?= =?Windows-1252?Q?9qplLnBo4MdI3L7n1g2tQ/4DWaBykqW/IIJep+/n0yyUrqcPLAoi4Y/8?= =?Windows-1252?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1;AM5PR0202MB2545;6:l4aegHFzvFquardCzCZv2h4n7BXAB92+UMLSAB0LwbazriWdesmpdGFgu/7lfTo/37fNeUdbraCpvSRBWGR2tnG0GBihhJsjrZgc6lPF2kouQNHAzySQhjg4aso94i62vpB8q8vhpKjCNuYgnTDyf5AQKcbzERj6kP7UjPUQp1/VOu45tzG7K3kjnKGuGDcTovNQknPgMz0lLv9XLwkabDw8t/VNkcihFEIMiADC+DSCZAYONoCswnSzO1+9Vnr8AWI5wXKo6PBuVxI2aHHiVN4ARQSlN1ghb55vHzHl7jD/JuPk2n89+StkalUkltzK6iNAa54uEwgS9jQe8yGpi872TXvJsvNVKNv6ytAm9eHMH1j+VBW+42k/TQzE+BvnFo3aA3UKlMw83Zq0d+JO+Q==;5:kN9RTKYwTF3tKRlqUCnfmn8mkOZM6cAzJi/DrWfnljYHwShTJ5ETZP+09CwfInJZMYiV+W5IfBKZjQdi3dYJ8yqpy+76megiaG3KvcTRmgufsEHskOh9FpFFDnQizMvBvrr88ftmuakgKSQE2n3msA==;24:2bT0kQ0BQqz5p1dclKhRVVvqUgXBKq03b5uyEnP5K0RFzJFYqfbhKzQY+vaR/J4ffhk6KZfOG0eLoy23jTkcAKNlWvw4+s2o1TRWl8GJXc8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;AM5PR0202MB2545;7:aZYbWmoO9fDHyWlZleom8bcoC4bv/vWCRJstuBCFXMn8Uwpin0R5egMVzHeZojv6s4R2O8FlG2Ni9ZH53KQ9odvgWhXCjeeFlUspkSAuT7ahrJ57KI8Cxlk2uLWbewoE3HSeBA6OeXzlAhbcMTwATlbMIvg2P1xFmuU+mc7nJtueWDwk7Yabe4gZbFYjJ0myAoVF53PYOs5hKiap+IBAsy4dp1U6i1ybxisIOsfTJrV9ieluWUz0gNWT72KQi976W6USlKBTp5U1EVg7svzaABnwpEScJqIDtZOepehBnJMLgFtABYQtLTyNOkCYko79jUefzGfKW6u1ImtKceolqw== X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2017 12:03:40.8848 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0202MB2545 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 752 Lines: 31 On 2017-03-31 17:29, Peter Rosin wrote: > Hi! > > Sorry for my incremental reviewing... > Another incremental... > On 2017-03-29 12:15, michael.hennerich@analog.com wrote: >> + >> + /* Now create an adapter for each channel */ >> + for (num = 0; num < data->chip->nchans; num++) { >> + ret = i2c_mux_add_adapter(muxc, 0, num, 0); >> + if (ret) { >> + dev_err(&client->dev, >> + "failed to register multiplexed adapter %d\n", >> + num); Just a heads up, I submitted a series to remove a bunch of dev_err calls when i2c_mux_add_adapter fails. See https://lkml.org/lkml/2017/4/3/115 You can remove this one as well. And please use a subject of the form: i2c: mux: ltc4306: Cheers, peda >> + goto add_adapter_failed; >> + }