Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-21 Thread Enric Balletbo Serra
Hi Chanwoo, Missatge de Chanwoo Choi del dia dj., 21 de juny 2018 a les 9:58: > > Hi Enric, > > On 2018년 06월 20일 19:32, Enric Balletbo i Serra wrote: > > Hi Chanwoo, > > > > On 20/06/18 02:47, Chanwoo Choi wrote: > >> Hi Enric, > >> > >> On 2018년 06월 19일 17:22, Enric Balletbo i Serra wrote: > >>>

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-21 Thread Enric Balletbo Serra
Hi Chanwoo, Missatge de Chanwoo Choi del dia dj., 21 de juny 2018 a les 9:58: > > Hi Enric, > > On 2018년 06월 20일 19:32, Enric Balletbo i Serra wrote: > > Hi Chanwoo, > > > > On 20/06/18 02:47, Chanwoo Choi wrote: > >> Hi Enric, > >> > >> On 2018년 06월 19일 17:22, Enric Balletbo i Serra wrote: > >>>

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-21 Thread Chanwoo Choi
Hi Enric, On 2018년 06월 20일 19:32, Enric Balletbo i Serra wrote: > Hi Chanwoo, > > On 20/06/18 02:47, Chanwoo Choi wrote: >> Hi Enric, >> >> On 2018년 06월 19일 17:22, Enric Balletbo i Serra wrote: >>> Hi Chanwoo, >>> >>> On 18/06/18 11:02, Enric Balletbo Serra wrote: Hi Chanwoo, Missatge

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-21 Thread Chanwoo Choi
Hi Enric, On 2018년 06월 20일 19:32, Enric Balletbo i Serra wrote: > Hi Chanwoo, > > On 20/06/18 02:47, Chanwoo Choi wrote: >> Hi Enric, >> >> On 2018년 06월 19일 17:22, Enric Balletbo i Serra wrote: >>> Hi Chanwoo, >>> >>> On 18/06/18 11:02, Enric Balletbo Serra wrote: Hi Chanwoo, Missatge

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-20 Thread Enric Balletbo i Serra
Hi Chanwoo, On 20/06/18 02:47, Chanwoo Choi wrote: > Hi Enric, > > On 2018년 06월 19일 17:22, Enric Balletbo i Serra wrote: >> Hi Chanwoo, >> >> On 18/06/18 11:02, Enric Balletbo Serra wrote: >>> Hi Chanwoo, >>> Missatge de Chanwoo Choi del dia dg., 17 de juny >>> 2018 a les 5:50: Hi

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-20 Thread Enric Balletbo i Serra
Hi Chanwoo, On 20/06/18 02:47, Chanwoo Choi wrote: > Hi Enric, > > On 2018년 06월 19일 17:22, Enric Balletbo i Serra wrote: >> Hi Chanwoo, >> >> On 18/06/18 11:02, Enric Balletbo Serra wrote: >>> Hi Chanwoo, >>> Missatge de Chanwoo Choi del dia dg., 17 de juny >>> 2018 a les 5:50: Hi

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-19 Thread Chanwoo Choi
Hi Enric, On 2018년 06월 19일 17:22, Enric Balletbo i Serra wrote: > Hi Chanwoo, > > On 18/06/18 11:02, Enric Balletbo Serra wrote: >> Hi Chanwoo, >> Missatge de Chanwoo Choi del dia dg., 17 de juny >> 2018 a les 5:50: >>> >>> Hi Enric, >>> >>> This issue will happen on the position to use

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-19 Thread Chanwoo Choi
Hi Enric, On 2018년 06월 19일 17:22, Enric Balletbo i Serra wrote: > Hi Chanwoo, > > On 18/06/18 11:02, Enric Balletbo Serra wrote: >> Hi Chanwoo, >> Missatge de Chanwoo Choi del dia dg., 17 de juny >> 2018 a les 5:50: >>> >>> Hi Enric, >>> >>> This issue will happen on the position to use

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-19 Thread Enric Balletbo i Serra
Hi Chanwoo, On 18/06/18 11:02, Enric Balletbo Serra wrote: > Hi Chanwoo, > Missatge de Chanwoo Choi del dia dg., 17 de juny > 2018 a les 5:50: >> >> Hi Enric, >> >> This issue will happen on the position to use find_devfreq_governor() >> as following: >> - devfreq_add_governora() and

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-19 Thread Enric Balletbo i Serra
Hi Chanwoo, On 18/06/18 11:02, Enric Balletbo Serra wrote: > Hi Chanwoo, > Missatge de Chanwoo Choi del dia dg., 17 de juny > 2018 a les 5:50: >> >> Hi Enric, >> >> This issue will happen on the position to use find_devfreq_governor() >> as following: >> - devfreq_add_governora() and

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-18 Thread Enric Balletbo Serra
Hi Chanwoo, Missatge de Chanwoo Choi del dia dg., 17 de juny 2018 a les 5:50: > > Hi Enric, > > This issue will happen on the position to use find_devfreq_governor() > as following: > - devfreq_add_governora() and governor_store() > > If device driver with module type after loaded want to change

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-18 Thread Enric Balletbo Serra
Hi Chanwoo, Missatge de Chanwoo Choi del dia dg., 17 de juny 2018 a les 5:50: > > Hi Enric, > > This issue will happen on the position to use find_devfreq_governor() > as following: > - devfreq_add_governora() and governor_store() > > If device driver with module type after loaded want to change

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-16 Thread Chanwoo Choi
Hi Enric, This issue will happen on the position to use find_devfreq_governor() as following: - devfreq_add_governora() and governor_store() If device driver with module type after loaded want to change the scaling governor, new governor might be not yet loaded. So, devfreq bettero to consider

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-16 Thread Chanwoo Choi
Hi Enric, This issue will happen on the position to use find_devfreq_governor() as following: - devfreq_add_governora() and governor_store() If device driver with module type after loaded want to change the scaling governor, new governor might be not yet loaded. So, devfreq bettero to consider

[PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-15 Thread Enric Balletbo i Serra
When the devfreq driver and the governor driver are built as modules, the call to devfreq_add_device() fails because the governor driver is not loaded at the time the devfreq driver loads. The devfreq driver has a build dependency on the governor but also should have a runtime dependency. We need

[PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-15 Thread Enric Balletbo i Serra
When the devfreq driver and the governor driver are built as modules, the call to devfreq_add_device() fails because the governor driver is not loaded at the time the devfreq driver loads. The devfreq driver has a build dependency on the governor but also should have a runtime dependency. We need