> On Wed, 2015-06-17 at 14:21 +, Dov Levenglick wrote:
>> Hi James,
>> Rob raises a point that we don't agree with. On the other hand, we are
>> not
>> capable of convincing him in the validity of our approach - we are at an
>> impasse.
>> I would like to point out that our approach was reviewe
On Wed, 2015-06-17 at 14:21 +, Dov Levenglick wrote:
> Hi James,
> Rob raises a point that we don't agree with. On the other hand, we are not
> capable of convincing him in the validity of our approach - we are at an
> impasse.
> I would like to point out that our approach was reviewed by Paul
Hi James,
Rob raises a point that we don't agree with. On the other hand, we are not
capable of convincing him in the validity of our approach - we are at an
impasse.
I would like to point out that our approach was reviewed by Paul and Mita
(external reviewers) and neither of them had the objection
On Wed, Jun 17, 2015 at 8:17 AM, Dov Levenglick wrote:
>> On Wed, Jun 17, 2015 at 2:42 AM, Dov Levenglick
>> wrote:
On Tue, Jun 9, 2015 at 12:53 AM, Dov Levenglick
wrote:
>> On Sun, Jun 7, 2015 at 10:32 AM, wrote:
2015-06-05 5:53 GMT+09:00 :
[...]
>>>
> On Wed, Jun 17, 2015 at 2:42 AM, Dov Levenglick
> wrote:
>>> On Tue, Jun 9, 2015 at 12:53 AM, Dov Levenglick
>>> wrote:
> On Sun, Jun 7, 2015 at 10:32 AM, wrote:
>>> 2015-06-05 5:53 GMT+09:00 :
>>>
>>> [...]
>>>
>> If ufshcd-pltfrm driver is loaded before ufs-qcom, (what actually
On Wed, Jun 17, 2015 at 2:42 AM, Dov Levenglick wrote:
>> On Tue, Jun 9, 2015 at 12:53 AM, Dov Levenglick
>> wrote:
On Sun, Jun 7, 2015 at 10:32 AM, wrote:
>> 2015-06-05 5:53 GMT+09:00 :
>>
>> [...]
>>
> If ufshcd-pltfrm driver is loaded before ufs-qcom, (what actually
> happe
> On Tue, Jun 9, 2015 at 12:53 AM, Dov Levenglick
> wrote:
>>> On Sun, Jun 7, 2015 at 10:32 AM, wrote:
> 2015-06-05 5:53 GMT+09:00 :
>
> [...]
>
If ufshcd-pltfrm driver is loaded before ufs-qcom, (what actually
happens
always), then the calling to of_platform_populate() which
On Tue, Jun 9, 2015 at 12:53 AM, Dov Levenglick wrote:
>> On Sun, Jun 7, 2015 at 10:32 AM, wrote:
2015-06-05 5:53 GMT+09:00 :
[...]
>>> If ufshcd-pltfrm driver is loaded before ufs-qcom, (what actually
>>> happens
>>> always), then the calling to of_platform_populate() which is added,
>>
> On Sun, Jun 7, 2015 at 10:32 AM, wrote:
>>> 2015-06-05 5:53 GMT+09:00 :
> Hi Yaniv,
>
> 2015-06-03 18:37 GMT+09:00 Yaniv Gardi :
>> @@ -321,7 +313,22 @@ static int ufshcd_pltfrm_probe(struct
>> platform_device *pdev)
>> goto out;
>> }
>>
On Sun, Jun 7, 2015 at 10:32 AM, wrote:
>> 2015-06-05 5:53 GMT+09:00 :
Hi Yaniv,
2015-06-03 18:37 GMT+09:00 Yaniv Gardi :
> @@ -321,7 +313,22 @@ static int ufshcd_pltfrm_probe(struct
> platform_device *pdev)
> goto out;
> }
>
> -
On Thu, Jun 4, 2015 at 9:32 AM, Akinobu Mita wrote:
> Hi Yaniv,
>
> 2015-06-03 18:37 GMT+09:00 Yaniv Gardi :
>> @@ -321,7 +313,22 @@ static int ufshcd_pltfrm_probe(struct platform_device
>> *pdev)
>> goto out;
>> }
>>
>> - hba->vops = get_variant_ops(&pdev->dev);
>>
2015-06-08 0:32 GMT+09:00 :
> 1)
> If ufshcd-pltfrm driver is loaded before ufs-qcom, (what actually happens
> always), then the calling to of_platform_populate() which is added,
> guarantees that ufs-qcom probe will be called and finish, before
> ufshcd_pltfrm probe continues.
I'm worrying the c
> 2015-06-05 5:53 GMT+09:00 :
>>> Hi Yaniv,
>>>
>>> 2015-06-03 18:37 GMT+09:00 Yaniv Gardi :
@@ -321,7 +313,22 @@ static int ufshcd_pltfrm_probe(struct
platform_device *pdev)
goto out;
}
- hba->vops = get_variant_ops(&pdev->dev);
+
Thanks Paul for the review and comments.
please see inline.
> On Wed, 2015-06-03 at 12:37 +0300, Yaniv Gardi wrote:
>> --- a/drivers/scsi/ufs/ufs-qcom.c
>> +++ b/drivers/scsi/ufs/ufs-qcom.c
>
>> EXPORT_SYMBOL(ufs_hba_qcom_vops);
>
> Nothing uses this export. It's still a (static) symbol that is
2015-06-05 5:53 GMT+09:00 :
>> Hi Yaniv,
>>
>> 2015-06-03 18:37 GMT+09:00 Yaniv Gardi :
>>> @@ -321,7 +313,22 @@ static int ufshcd_pltfrm_probe(struct
>>> platform_device *pdev)
>>> goto out;
>>> }
>>>
>>> - hba->vops = get_variant_ops(&pdev->dev);
>>> + err = o
> Hi Yaniv,
>
> 2015-06-03 18:37 GMT+09:00 Yaniv Gardi :
>> @@ -321,7 +313,22 @@ static int ufshcd_pltfrm_probe(struct
>> platform_device *pdev)
>> goto out;
>> }
>>
>> - hba->vops = get_variant_ops(&pdev->dev);
>> + err = of_platform_populate(node, NULL, NULL, &
> On Wed, 2015-06-03 at 12:37 +0300, Yaniv Gardi wrote:
>> --- a/drivers/scsi/ufs/ufs-qcom.c
>> +++ b/drivers/scsi/ufs/ufs-qcom.c
>
>> EXPORT_SYMBOL(ufs_hba_qcom_vops);
>
> Nothing uses this export. It's still a (static) symbol that is not
> included in any header. I think this export serves no pu
On Thu, 2015-06-04 at 16:07 +0200, Paul Bolle wrote:
> On Wed, 2015-06-03 at 12:37 +0300, Yaniv Gardi wrote:
> > +static int ufs_qcom_probe(struct platform_device *pdev)
> > +{
> > + dev_set_drvdata(&pdev->dev, (void *)&ufs_hba_qcom_vops);
>
> (Cast to void * should not be needed.)
Only if ufs_
Hi Yaniv,
2015-06-03 18:37 GMT+09:00 Yaniv Gardi :
> @@ -321,7 +313,22 @@ static int ufshcd_pltfrm_probe(struct platform_device
> *pdev)
> goto out;
> }
>
> - hba->vops = get_variant_ops(&pdev->dev);
> + err = of_platform_populate(node, NULL, NULL, &pdev->dev);
On Wed, 2015-06-03 at 12:37 +0300, Yaniv Gardi wrote:
> --- a/drivers/scsi/ufs/ufs-qcom.c
> +++ b/drivers/scsi/ufs/ufs-qcom.c
> EXPORT_SYMBOL(ufs_hba_qcom_vops);
Nothing uses this export. It's still a (static) symbol that is not
included in any header. I think this export serves no purpose. Am I
It does so by adding the following changes:
1. Introducing SCSI_UFS_QCOM as a platform device. Its probe
function registers a set of vops to its driver_data.
2. Adding an optional device tree sub-node, under SCSI_UFSHCD_PLATFORM.
Now, the probe function of SCSI_UFSHCD_PLATFORM invokes the pro
21 matches
Mail list logo