Re: [PATCH] staging: greybus: audio: Rename cport with intf_id
From: Vaibhav Agarwal
Date: Wed Oct 19 2016 - 01:31:03 EST
On Mon, Oct 17, 2016 at 9:01 PM, Johan Hovold <johan@xxxxxxxxxx> wrote:
> On Sun, Oct 16, 2016 at 03:29:14PM +0530, Pankaj Bharadiya wrote:
>> gb_audio_manager_module_descriptor's cport field is actually used to
>> manage and pass interface id to user space.
>>
>> Thus rename gb_audio_manager_module_descriptor's 'cport' field and
>> few other things to avoid confusion.
>
> Please be more specific about what these other things are; in this case
> sysfs attributes, uevent vars, and an odd-looking sysfs-string
> interface (more?).
>
> Wouldn't this change break any current user-space implementation?
Yes, it would require changes in user space code as well. For now, it
should be GMP-Audio HAL only.
>
> Also why aren't any of these attributes documented as they should be?
Currently, none of GB Audio specific sysfs entries are documented.
I'll share another patch for this.
--
thanks,
./va
>
> Thanks,
> Johan