Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753833AbeAJLDt (ORCPT + 1 other); Wed, 10 Jan 2018 06:03:49 -0500 Received: from mail-io0-f170.google.com ([209.85.223.170]:37101 "EHLO mail-io0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751869AbeAJLDq (ORCPT ); Wed, 10 Jan 2018 06:03:46 -0500 X-Google-Smtp-Source: ACJfBotBWbHmGSqbZ+sZdn8obgmLKyxaege1X+/SuDgHWvqdbcpXDXufeGvts78PzNmpkMhdUAEMpGok+gmOOVP+d40= MIME-Version: 1.0 X-Originating-IP: [90.77.100.34] In-Reply-To: References: <1514556006-23293-1-git-send-email-mastichi@gmail.com> <20171229175449.760e734d@archlinux> <20180101095342.4d4d5325@archlinux> <20180106131434.550e8e42@archlinux> <20180107160820.05660804@archlinux> From: Javier Martinez Canillas Date: Wed, 10 Jan 2018 12:03:45 +0100 Message-ID: Subject: Re: [PATCH v2] iio: adc: max9611: fix module auto-loading To: Dmitry Mastykin Cc: Jonathan Cameron , Andy Shevchenko , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Jacopo Mondi , Dan Carpenter , Rob Herring , linux-iio , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hello Dmitry, On Wed, Jan 10, 2018 at 4:51 AM, Dmitry Mastykin wrote: > Hello Johnatan, > May be the issue is the same as Javier Martinez Canillas wrote: > "What is not correct is to require OF-only drivers to have an I2C > device ID table just as a workaround to have their modules > auto-loading working." > Please see: http://lkml.iu.edu/hypermail/linux/kernel/1712.0/01779.html > So the problem is not in driver, but in auto-loading procedure. I've posted [0] a fix for the I2C core some time ago. Could you please give a try to that and maybe provide your {Tested,Reviewed}-by tag? [0]: https://patchwork.kernel.org/patch/10089425/ Best regards, Javier