From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753174AbcD0QQO (ORCPT ); Wed, 27 Apr 2016 12:16:14 -0400 Received: from foss.arm.com ([217.140.101.70]:36719 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752269AbcD0QQM (ORCPT ); Wed, 27 Apr 2016 12:16:12 -0400 Subject: Re: [PATCH] cpufreq: st: enable selective initialization based on the platform To: Lee Jones References: <1461757227-22381-1-git-send-email-sudeep.holla@arm.com> <20160427160746.GG4892@dell> Cc: Sudeep Holla , linux-kernel@vger.kernel.org, Viresh Kumar , "Rafael J. Wysocki" , linux-pm@vger.kernel.org From: Sudeep Holla Organization: ARM Message-ID: <5720E5C9.4050105@arm.com> Date: Wed, 27 Apr 2016 17:16:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160427160746.GG4892@dell> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/04/16 17:07, Lee Jones wrote: > On Wed, 27 Apr 2016, Sudeep Holla wrote: > [...] >> >> + if ((!of_machine_is_compatible("st,stih407-b2120")) && >> + (!of_machine_is_compatible("st,stih407"))) >> + return -ENODEV; > > You need to check for "st,stih407" and "st,stih410". > Thanks, will fix it and post new version soon. -- Regards, Sudeep