; >>> -Original Message-
> >>> From: Stephen Warren [mailto:swar...@wwwdotorg.org]
> >>> Sent: 2016年8月18日 11:56
> >>> To: Wenyou Yang - A41535 ;
> >>> wenyou.y...@atmel.com
> >>> Cc: u-boot@lists.denx.de; swar...@nvidia.com;
> >&g
t: 2016年8月18日 11:56
>>> To: Wenyou Yang - A41535 ;
>>> wenyou.y...@atmel.com
>>> Cc: u-boot@lists.denx.de; swar...@nvidia.com; michal.si...@xilinx.com
>>> Subject: Re: [U-Boot] [PATCH v1] clk: clk-uclass: Check ops pointer
>>> before use it
>>>
>>>
...@xilinx.com
Subject: Re: [U-Boot] [PATCH v1] clk: clk-uclass: Check ops pointer before use
it
On 08/17/2016 09:53 PM, wenyou.y...@microchip.com wrote:
Hi Stephen,
-Original Message-
From: Stephen Warren [mailto:swar...@wwwdotorg.org]
Sent: 2016年8月18日 11:46
To: Wenyou Yang - A41535
Sent: 2016年8月18日 11:46
> >> To: Wenyou Yang - A41535 ;
> >> wenyou.y...@atmel.com
> >> Cc: u-boot@lists.denx.de; swar...@nvidia.com; michal.si...@xilinx.com
> >> Subject: Re: [U-Boot] [PATCH v1] clk: clk-uclass: Check ops pointer
> >> before use it
>
7日 23:59
> >> To: Wenyou Yang
> >> Cc: U-Boot Mailing List ; Stephen Warren
> >> ; Michal Simek
> >> Subject: Re: [U-Boot] [PATCH v1] clk: clk-uclass: Check ops pointer
> >> before use it
> >>
> >> On 08/17/2016 01:05 AM, Wenyou Yang wrote:
HI Stephen,
> -Original Message-
> From: Stephen Warren [mailto:swar...@wwwdotorg.org]
> Sent: 2016年8月17日 23:59
> To: Wenyou Yang
> Cc: U-Boot Mailing List ; Stephen Warren
> ; Michal Simek
> Subject: Re: [U-Boot] [PATCH v1] clk: clk-uclass: Check ops pointer before
Subject: Re: [U-Boot] [PATCH v1] clk: clk-uclass: Check ops pointer before use
it
On 08/17/2016 06:30 PM, wenyou.y...@microchip.com wrote:
HI Stephen,
-Original Message-
From: Stephen Warren [mailto:swar...@wwwdotorg.org]
Sent: 2016年8月17日 23:59
To: Wenyou Yang
Cc: U-Boot Mailing List
On 08/17/2016 06:30 PM, wenyou.y...@microchip.com wrote:
HI Stephen,
-Original Message-
From: Stephen Warren [mailto:swar...@wwwdotorg.org]
Sent: 2016年8月17日 23:59
To: Wenyou Yang
Cc: U-Boot Mailing List ; Stephen Warren
; Michal Simek
Subject: Re: [U-Boot] [PATCH v1] clk: clk-uclass
Hi,
On 17 August 2016 at 09:59, Stephen Warren wrote:
> On 08/17/2016 01:05 AM, Wenyou Yang wrote:
>>
>> Add check ops pointer before use it. Otherwise, it will cause
>> the runtime error for the clk devices without ops callback.
>
>
> Other uclasses like reset, power domain, and mailbox don't do
On 08/17/2016 01:05 AM, Wenyou Yang wrote:
Add check ops pointer before use it. Otherwise, it will cause
the runtime error for the clk devices without ops callback.
Other uclasses like reset, power domain, and mailbox don't do this. All
drivers must have an ops pointer, or they can't be useful
Add check ops pointer before use it. Otherwise, it will cause
the runtime error for the clk devices without ops callback.
Signed-off-by: Wenyou Yang
---
drivers/clk/clk-uclass.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/clk/clk-uclass.c b/drivers
11 matches
Mail list logo