greybus: audio: Rename widget_type to jack_attrubute
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>
Wed, 13 Apr 2016 04:23:38 +0000 (09:53 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 26 Apr 2016 01:02:57 +0000 (18:02 -0700)
This fields actually populates jack attribute. Thus, renamed to
reflect the real purpose.

Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org>
Reviewed-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_protocols.h

index bf3c132a32666a88b86212a8b297494c1be15d1a..713b56989735441413ec46b0a7665d6d93ffb1da 100644 (file)
@@ -1922,7 +1922,7 @@ struct gb_audio_deactivate_rx_request {
 
 struct gb_audio_jack_event_request {
        __u8    widget_id;
-       __u8    widget_type;
+       __u8    jack_attribute;
        __u8    event;
 } __packed;