From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: Re: [PATCH v2 6/7] i3c: master: Add driver for Cadence IP Date: Thu, 14 Dec 2017 14:10:06 -0800 Message-ID: <3ea7ec44-3cf7-9f2f-c6e2-161fad939aa3@infradead.org> References: <20171214151610.19153-1-boris.brezillon@free-electrons.com> <20171214151610.19153-7-boris.brezillon@free-electrons.com> <20171214211722.1c2f269d@bbrezillon> <8245f2de-eb0a-319b-8f45-d8d5dac36239@infradead.org> <20171214214442.55902041@bbrezillon> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20171214214442.55902041@bbrezillon> Content-Language: en-US Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Boris Brezillon Cc: Wolfram Sang , linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Jonathan Corbet , linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Greg Kroah-Hartman , Arnd Bergmann , Przemyslaw Sroka , Arkadiusz Golec , Alan Douglas , Bartosz Folta , Damian Kos , Alicja Jurasik-Urbaniak , Cyprian Wronka , Suresh Punnoose , Thomas Petazzoni , Nishanth Menon , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala List-Id: linux-i2c@vger.kernel.org On 12/14/2017 12:44 PM, Boris Brezillon wrote: > On Thu, 14 Dec 2017 12:25:14 -0800 > Randy Dunlap wrote: > >> On 12/14/2017 12:17 PM, Boris Brezillon wrote: >>>>> + events.events = I3C_CCC_EVENT_HJ | I3C_CCC_EVENT_MR; >>>>> + ret = i3c_master_enec_locked(m, I3C_BROADCAST_ADDR, &events); >>>>> + if (ret) >>>>> + pr_info("Failed to re-enable H-J"); >>>> Not very good info... >>> What do you mean? Is it the H-J that bothers you (I can replace it by >>> 'Hot-Join'), or is it something else? >> >> Who is the message for? If it's for developers, you could use >> pr_debug(). If it's for users, it needs more clarity. > > I think it's of interest to anyone including users. If we fail to > re-enable Hot-Join that means hotplug is no longer working which is > a bad news. > >> >> Does it print the source of the message? (module name e.g.) > > I could replace it by > > dev_err(m->parent, "Failed to re-enable Hot-Join"); > Yes, that's a good plan. Thanks. > > >> and yes, Hot-Join would be better IMO. -- ~Randy -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html